uncloud-cli/ucloud.py

22 lines
417 B
Python
Raw Normal View History

2019-07-17 14:58:39 +00:00
import click
2019-07-03 11:26:33 +00:00
2019-07-17 14:58:39 +00:00
from commands.vm import vm
from commands.user import user
from commands.host import host
from commands.image import image
from commands.network import network
2019-07-03 11:26:33 +00:00
2019-07-17 14:58:39 +00:00
@click.group()
def entry_point():
pass
2019-07-03 11:26:33 +00:00
2019-07-17 14:58:39 +00:00
entry_point.add_command(vm)
entry_point.add_command(user)
entry_point.add_command(image)
entry_point.add_command(host)
entry_point.add_command(network)
2019-07-03 11:26:33 +00:00
2019-07-17 14:58:39 +00:00
if __name__ == "__main__":
entry_point()