feat: Add api, Deploy command and update cli

This commit is contained in:
Eduardo Chiarotti
2024-08-20 22:42:55 -03:00
parent bec9a4941c
commit f44d3902a4
4 changed files with 191 additions and 57 deletions

View File

@@ -1,3 +1,5 @@
from typing import Optional
import click
import pkg_resources
@@ -183,9 +185,10 @@ def deploy():
@deploy.command(name="up")
def deploy_up():
@click.option("-u", "--uuid", type=Optional[str], help="Crew UUID parameter")
def deploy_up(uuid: Optional[str]):
"""Deploy the crew."""
deploy_cmd.deploy()
deploy_cmd.deploy(uuid=uuid)
@deploy.command(name="create")