3.1. wc_cli package¶
3.1.1. Subpackages¶
3.1.2. Submodules¶
3.1.3. wc_cli.__main__ module¶
Whole-cell modeling command line interface
- Author
Jonathan Karr <jonrkarr@gmail.com>
- Date
2018-05-15
- Copyright
2018, Karr Lab
- License
MIT
-
class
wc_cli.__main__.
App
(argv=None, config=None)[source]¶ Bases:
cement.core.foundation.App
Command line application
-
classmethod
add_package_handlers
(argv, stacked_on, package_name, label, description)[source]¶ Add a package to an application by adding its handlers
- Parameters
argv (
list
ofstr
) – command line argumentsstacked_on (
str
) – where the handlers for the package should be stackedpackage_name (
str
) – name of the package whose handlers should be added the applicationlabel (
str
) – root label for the handlers within the applicationdescription (
str
) – root descipription for the handlers within the application
- Raises
SystemExit – if a handler is not a base or stacked on a base
-
classmethod
-
class
wc_cli.__main__.
BaseController
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
Base controller for command line application
-
class
wc_cli.__main__.
ModelController
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
Model controller