calico.cli¶
Command line interface.
-
calico.cli.main(argv=None)¶ Entry point of the utility.
Parameters: argv (Optional[List[str]]) – Command line arguments.
-
calico.cli.make_parser(prog)¶ Build a parser for command line arguments.
Parameters: prog (str) – Name of program. Return type: ArgumentParser Returns: Created argument parser.
-
calico.cli.setup_logging(debug, log)¶ Set up logging levels and handlers.
Parameters: - debug (bool) – Whether to activate debugging.
- log (bool) – Whether to log messages to a file.