uncloud-mravi/uncloud/hack/main.py
2020-01-14 11:22:04 +01:00

17 lines
375 B
Python

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']