| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
configuration.OptionsManagerMixIn --+
|
object --+ |
| |
configuration.OptionsProviderMixIn --+
|
configuration.ConfigurationMixIn --+
|
configuration.Configuration --+
|
Command
Base class for command line commands. Class attributes: * `name`, the name of the command * `min_args`, minimum number of arguments, None if unspecified * `max_args`, maximum number of arguments, None if unspecified * `arguments`, string describing arguments, used in command usage * `hidden`, boolean flag telling if the command should be hidden, e.g. does not appear in help's commands list * `options`, options list, as allowed by :mod:configuration
| Class Methods | |||
|
|||
|
|||
| Class Variables | |
arguments = ''
|
|
name = ''
|
|
hidden = False
|
|
min_args = Nonehash(x) |
|
max_args = Nonehash(x) |
|
|
Inherited from |
|
| Properties | |
|
Inherited from |
| Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
Run the command and return status 0 if everything went fine. If :exc:`CommandError` is raised by the underlying command, simply log the error and return status 2. Any other exceptions, including :exc:`BadCommandUsage` will be propagated. |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Dec 8 00:00:57 2017 | http://epydoc.sourceforge.net |