![]() |
ATLAS Offline Software
|
Classes | |
| class | Command |
| classes ----------------------------------------------------------------— More... | |
| class | Plugins |
Functions | |
| def | command (*args, **kwargs) |
| def | argument (*args, **kwargs) |
| def | register (name, value) |
Variables | |
| __doc__ | |
| __author__ | |
| __all__ | |
| ACMD_GROUPNAME | |
| globals ----------------------------------------------------------------— More... | |
| ACMD_PARSER | |
| prog | |
| description | |
| ACMD_SUBPARSERS | |
| dest | |
| title | |
| metavar | |
| def python.acmdlib.argument | ( | * | args, |
| ** | kwargs | ||
| ) |
Decorator to add an argument to a command. Use the `mutual=True` keyword to specify that the argument should belong to a mutual exclusion group.
Definition at line 179 of file acmdlib.py.
| def python.acmdlib.command | ( | * | args, |
| ** | kwargs | ||
| ) |
| def python.acmdlib.register | ( | name, | |
| value | |||
| ) |
Registers a plugin, given a name and value.
ex: register('check-file', 'PyUtils.CheckFileLib:fct')
Definition at line 203 of file acmdlib.py.
|
private |
Definition at line 11 of file acmdlib.py.
|
private |
Definition at line 9 of file acmdlib.py.
|
private |
Definition at line 8 of file acmdlib.py.
| python.acmdlib.ACMD_GROUPNAME |
globals ----------------------------------------------------------------—
Definition at line 24 of file acmdlib.py.
| python.acmdlib.ACMD_PARSER |
Definition at line 28 of file acmdlib.py.
| python.acmdlib.ACMD_SUBPARSERS |
Definition at line 33 of file acmdlib.py.
| python.acmdlib.description |
Definition at line 30 of file acmdlib.py.
| python.acmdlib.dest |
Definition at line 34 of file acmdlib.py.
| python.acmdlib.metavar |
Definition at line 36 of file acmdlib.py.
| python.acmdlib.prog |
Definition at line 29 of file acmdlib.py.
| python.acmdlib.title |
Definition at line 35 of file acmdlib.py.
1.8.18