mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-28 09:38:17 +00:00
feat: Add api, Deploy command and update cli
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user