taucmdr.cli.commands.trial.create module

trial create subcommand.

class taucmdr.cli.commands.trial.create.TrialCreateCommand(*args, **kwargs)[source]

Bases: CreateCommand

trial create 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