import argparse from uncloud.hack.vm import VM arg_parser = argparse.ArgumentParser('hack', add_help=False) arg_parser.add_argument('--create-vm', action='store_true') def main(arguments): print(arguments) if arguments['create_vm']: print("Creating VM") vm = VM() vm.create() #debug = arguments['debug'] #port = arguments['port']