PyOpenWorm.cli_command_wrapper module

exception PyOpenWorm.cli_command_wrapper.CLIUserError[source]

Bases: exceptions.Exception

class PyOpenWorm.cli_command_wrapper.CLIAppendAction(mapper, key, *args, **kwargs)[source]

Bases: PyOpenWorm.cli_command_wrapper.CLIStoreAction

class PyOpenWorm.cli_command_wrapper.CLIArgMapper[source]

Bases: object

Stores mappings for arguments and maps them back to the part of the object they come from

runners = None

Mapping from subcommand names to functions which run for them

class PyOpenWorm.cli_command_wrapper.CLIStoreAction(mapper, key, *args, **kwargs)[source]

Bases: argparse.Action

Interacts with the CLIArgMapper

class PyOpenWorm.cli_command_wrapper.CLIStoreTrueAction(*args, **kwargs)[source]

Bases: PyOpenWorm.cli_command_wrapper.CLIStoreAction

class PyOpenWorm.cli_command_wrapper.CLISubCommandAction(mapper, *args, **kwargs)[source]

Bases: argparse._SubParsersAction