def main(): logging.basicConfig(format=LOG.FMT, level=logging.INFO) try: fire.Fire(Cli) except KeyboardInterrupt: log.error("\nfatal: lost game by chickening out!") sys.exit(1)