![]() |
ATLAS Offline Software
|
classes ----------------------------------------------------------------— More...
Public Member Functions | |
def | __init__ (self, fct, **kwargs) |
def | name (self) |
def | help (self) |
def | description (self) |
def | add_argument (self) |
def | __call__ (self, *args, **kwargs) |
def | add_mutually_exclusive_group (self, **kwargs) |
Public Attributes | |
fct | |
parser | |
Private Member Functions | |
def | _make_parser (self, **kwargs) |
def | _init_arguments (self) |
Private Attributes | |
_acmdlib_mutual_group | |
classes ----------------------------------------------------------------—
A wrapper class to manage the creation of commands and their arguments this is very heavily inspired from: http://pypi.python.org/pypi/django-boss (MIT licence)
Definition at line 40 of file acmdlib.py.
def python.acmdlib.Command.__init__ | ( | self, | |
fct, | |||
** | kwargs | ||
) |
Definition at line 47 of file acmdlib.py.
def python.acmdlib.Command.__call__ | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
Definition at line 74 of file acmdlib.py.
|
private |
Definition at line 120 of file acmdlib.py.
|
private |
def python.acmdlib.Command.add_argument | ( | self | ) |
Definition at line 71 of file acmdlib.py.
def python.acmdlib.Command.add_mutually_exclusive_group | ( | self, | |
** | kwargs | ||
) |
Definition at line 117 of file acmdlib.py.
def python.acmdlib.Command.description | ( | self | ) |
Definition at line 66 of file acmdlib.py.
def python.acmdlib.Command.help | ( | self | ) |
Definition at line 60 of file acmdlib.py.
def python.acmdlib.Command.name | ( | self | ) |
Definition at line 56 of file acmdlib.py.
|
private |
Definition at line 128 of file acmdlib.py.
python.acmdlib.Command.fct |
Definition at line 49 of file acmdlib.py.
python.acmdlib.Command.parser |
Definition at line 50 of file acmdlib.py.