def setup_cli(settings):
    api = common.init_api(settings)
    try:
        app = AppController(api, settings)
        parse_cmdline(app, settings)
    except __HOLE__:
        pass
    finally:
        common.shutdown(api, settings)
dataset/ETHPy150Open cloudControl/cctrl/cctrl/app_commands.py/setup_cli