ucloud-cli/ucloud.py

22 lines
364 B
Python
Executable File

import argparse
import click
from commands.vm import vm
from commands.user import user
from commands.host import host
from commands.image import image
@click.group()
def entry_point():
pass
entry_point.add_command(vm)
entry_point.add_command(user)
entry_point.add_command(image)
entry_point.add_command(host)
if __name__ == "__main__":
entry_point()