LTA’s Entrypoint

Provide entry point for CLI.

lta.cli.main(args: Optional[argparse.Namespace] = None) None

Provide entry point for CLI.

This also configures the logger to use for the run. The -v flag can be passed multiple times, increasing verbosity from errors to debug. Additionally, file handlers are set up for --logfile, unless the passed file is term, in which case a stream handler is used.

Parameters

args (Optional[configargparse.Namespace]) – If not specified, then the command line inputs are read. This is the intended behaviour, as this option only exists to allow for testing.