core.cli ======== .. py:module:: core.cli Classes ------- .. autoapisummary:: core.cli.CLI Module Contents --------------- .. py:class:: CLI Base CLI. .. py:attribute:: parser .. py:method:: main(argstr: Optional[str] = None) -> Any Parse args. .. py:method:: parse_args(argstr: Optional[str] = None) -> argparse.Namespace 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.