uncloud-cli/bin/uncloud-cli

24 lines
521 B
Plaintext
Raw Permalink Normal View History

2019-12-31 14:54:08 +00:00
#!/usr/bin/env python3
import click
from uncloud_cli.commands.vm import vm
from uncloud_cli.commands.user import user
from uncloud_cli.commands.host import host
from uncloud_cli.commands.image import image
from uncloud_cli.commands.network import network
@click.group()
def entry_point():
pass
2019-12-31 15:18:14 +00:00
if __name__ == '__main__':
2019-12-31 14:54:08 +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)
entry_point()