cli
¶
tt’s command-line interface.
cli.core
module¶
Core command-line interface for tt.
-
tt.cli.core.
get_parsed_args
(args=None)¶ Get the parsed command line arguments.
Parameters: args (List[str], optional) – The list of command line args to parse; if left as None, sys.argv will be used. Returns: The Namespace object returned by the ArgumentParser.parse_args
function.Return type: argparse.Namespace
-
tt.cli.core.
main
(args=None)¶ The main routine to run the tt command-line interface.
Parameters: args (List[str], optional) – The args
argument to be passed to theget_parsed_args
function.Returns: The exit code of the program. Return type: int