![]() |
ATLAS Offline Software
|
Classes | |
| class | AthArgumentParser |
Helper wrapper to argparse.ArgumentParser for use in athena
The user's options are separated from athena's command line arguments by a
single '-' character when athena is called.
Public classes:
AthArgumentParser
Usage:
from AthenaCommon.AthArgumentParser import AthArgumentParser
parser = AthArgumentParser()
parser.add_argument("-a", "--arg", action="store", help="Argument")
args = parser.parse_args()
print(args.arg) # etc