Cli LOG_LEVEL_TO_INT = {'debug': 10, 'info': 20, 'warning': 30, 'error': 40, 'critical': 50} ¶ run_cli() ¶ The main definition run when you call the script from the commandline.