Run Command
dm.run_command
Module providing the run
command.
add_subparser(parsers)
Add the command line options for the run command.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
parsers
|
_SubParsersAction
|
The main argument parser. |
required |
cmd_run(args, context)
Executes the run command.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
args
|
Namespace
|
The command line parameters. |
required |
context
|
Context
|
The execution context. |
required |
Raises:
Type | Description |
---|---|
Exception
|
when the command did not run successfully. |