ucloud-setup/ucloud-setup.py

24 lines
464 B
Python
Raw Permalink Normal View History

2019-08-27 08:31:22 +00:00
import click
from app.api import api
from app.scheduler import scheduler
2019-08-27 13:33:26 +00:00
from app.host import host
from app.image import image
from app.file import file_scan
2019-09-14 07:16:47 +00:00
from app.cli import cli
2019-08-30 01:23:45 +00:00
2019-08-27 08:31:22 +00:00
@click.group()
def entry_point():
pass
2019-08-29 10:56:54 +00:00
2019-08-27 08:31:22 +00:00
entry_point.add_command(api)
entry_point.add_command(scheduler)
2019-08-27 13:33:26 +00:00
entry_point.add_command(host)
entry_point.add_command(image)
entry_point.add_command(file_scan)
2019-09-14 07:16:47 +00:00
entry_point.add_command(cli)
2019-08-29 10:56:54 +00:00
2019-08-27 08:31:22 +00:00
if __name__ == "__main__":
entry_point()