taucmdr.cli.commands.build module
build subcommand.
-
class taucmdr.cli.commands.build.BuildCommand(module_name, format_fields=None, summary_fmt=None, help_page_fmt=None, group=None)[source]
Bases: AbstractCommand
build subcommand.
-
_abc_impl = <_abc._abc_data object>
-
_construct_parser()[source]
Construct a command line argument parser.
-
static is_compatible(cmd)[source]
Check if this subcommand can work with the given command.
- Parameters:
cmd (str) – A command from the command line, e.g. sys.argv[1].
- Returns:
True if this subcommand is compatible with cmd.
- Return type:
bool
-
main(argv)[source]
Command program entry point.
- Parameters:
argv (list) – Command line arguments.
- Returns:
Process return code: non-zero if a problem occurred, 0 otherwise
- Return type:
int