@entry_point('presto-admin', version=__version__,
             log_file_path="presto-admin.log",
             application_class=FabricApplication)
def main(args=sys.argv[1:]):
    commands_to_run = parse_and_validate_commands(args)

    names = ", ".join(x[0] for x in commands_to_run)
    _LOGGER.debug("Commands to run: %s" % names)

    # At this point all commands must exist, so execute them in order.
    return _exit_code(run_tasks(commands_to_run))
Polyglot has triggered a clean shutdown. Generally, this method does
dataset/ETHPy150Open prestodb/presto-admin/prestoadmin/main.py/main--crossover with--dataset/ETHPy150Open UniversalDevicesInc/Polyglot/polyglot/nodeserver_api.py/NodeServer.on_exit