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-08-27 08:31:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
@click.group()
|
|
|
|
def entry_point():
|
|
|
|
pass
|
|
|
|
|
|
|
|
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-08-27 08:31:22 +00:00
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
entry_point()
|