forked from uncloud/uncloud
24 lines
446 B
Python
24 lines
446 B
Python
#!/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 cli():
|
|
pass
|
|
|
|
|
|
cli.add_command(vm)
|
|
cli.add_command(user)
|
|
cli.add_command(image)
|
|
cli.add_command(host)
|
|
cli.add_command(network)
|
|
|
|
if __name__ == '__main__':
|
|
cli()
|