core.cli
Classes
Base CLI. |
Module Contents
- class core.cli.CLI[source]
Base CLI.
- parse_args(argstr: str | None = None) argparse.Namespace[source]
Construct a parser, parse either sys.argv (default) or the provided argstr.
Returns a Namespace. The Namespace should have a ‘func’ attribute which can be used to dispatch to the appropriate downstream function.