Skip to main content

command

The root datalayer command.

This does nothing other than dispatch to subcommands or output path info.

class DatalayerParser(prog=None, usage=None, description=None, epilog=None, parents=[], formatter_class=<class 'argparse.HelpFormatter'>, prefix_chars='-', fromfile_prefix_chars=None, argument_default=None, conflict_handler='error', add_help=True, allow_abbrev=True, exit_on_error=True)

A Datalayer argument parser.

epilog

Add subcommands to epilog on request.

Avoids searching PATH for subcommands unless help output is requested.

Returns

  • str

    The epilog string with available subcommands.

epilog

Add subcommands to epilog on request.

Avoids searching PATH for subcommands unless help output is requested.

Returns

  • str

    The epilog string with available subcommands.

argcomplete() -> None

Trigger auto-completion, if enabled.

def datalayer_parser() -> datalayer_core.command.DatalayerParser

Create a datalayer parser object.

Returns

  • DatalayerParser

    The configured argument parser.

def list_subcommands() -> List[str]

List all datalayer subcommands.

Searches PATH for datalayer-name.

Returns

  • List[str]

    A list of datalayer's subcommand names, without the datalayer- prefix. Nested children (e.g. datalayer-sub-subsub) are not included.

def main() -> None

The command entry point.