uncloud-cli/ucloud.py

25 lines
482 B
Python
Raw Normal View History

2019-07-17 19:58:39 +05:00
import click
2019-07-03 16:26:33 +05:00
2019-07-17 19:58:39 +05:00
from commands.vm import vm
from commands.user import user
from commands.host import host
from commands.image import image
2019-09-13 10:58:05 +05:30
from commands.product import product
2019-09-14 22:45:56 +05:30
from commands.order import order
2019-07-03 16:26:33 +05:00
2019-07-17 19:58:39 +05:00
@click.group()
def entry_point():
pass
2019-07-03 16:26:33 +05:00
2019-07-17 19:58:39 +05:00
entry_point.add_command(vm)
entry_point.add_command(user)
entry_point.add_command(image)
entry_point.add_command(host)
2019-09-13 10:58:05 +05:30
entry_point.add_command(product)
2019-09-14 22:45:56 +05:30
entry_point.add_command(order)
2019-07-03 16:26:33 +05:00
2019-07-17 19:58:39 +05:00
if __name__ == "__main__":
entry_point()