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 42 of file acmdlib.py.
def python.acmdlib.Command.__init__ | ( | self, | |
fct, | |||
** | kwargs | ||
) |
Definition at line 49 of file acmdlib.py.
def python.acmdlib.Command.__call__ | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
Definition at line 76 of file acmdlib.py.
|
private |
Definition at line 122 of file acmdlib.py.
|
private |
def python.acmdlib.Command.add_argument | ( | self | ) |
Definition at line 73 of file acmdlib.py.
def python.acmdlib.Command.add_mutually_exclusive_group | ( | self, | |
** | kwargs | ||
) |
Definition at line 119 of file acmdlib.py.
def python.acmdlib.Command.description | ( | self | ) |
Definition at line 68 of file acmdlib.py.
def python.acmdlib.Command.help | ( | self | ) |
Definition at line 62 of file acmdlib.py.
def python.acmdlib.Command.name | ( | self | ) |
Definition at line 58 of file acmdlib.py.
|
private |
Definition at line 130 of file acmdlib.py.
python.acmdlib.Command.fct |
Definition at line 51 of file acmdlib.py.
python.acmdlib.Command.parser |
Definition at line 52 of file acmdlib.py.