2019-07-17 14:58:39 +00:00
|
|
|
import click
|
2019-07-03 11:26:33 +00:00
|
|
|
|
2019-07-17 14:58:39 +00:00
|
|
|
from commands.vm import vm
|
|
|
|
from commands.user import user
|
|
|
|
from commands.host import host
|
|
|
|
from commands.image import image
|
2019-09-13 05:28:05 +00:00
|
|
|
from commands.product import product
|
2019-07-03 11:26:33 +00:00
|
|
|
|
|
|
|
|
2019-07-17 14:58:39 +00:00
|
|
|
@click.group()
|
|
|
|
def entry_point():
|
|
|
|
pass
|
2019-07-03 11:26:33 +00:00
|
|
|
|
|
|
|
|
2019-07-17 14:58:39 +00:00
|
|
|
entry_point.add_command(vm)
|
|
|
|
entry_point.add_command(user)
|
|
|
|
entry_point.add_command(image)
|
|
|
|
entry_point.add_command(host)
|
2019-09-13 05:28:05 +00:00
|
|
|
entry_point.add_command(product)
|
2019-07-03 11:26:33 +00:00
|
|
|
|
2019-07-17 14:58:39 +00:00
|
|
|
if __name__ == "__main__":
|
|
|
|
entry_point()
|