Deploy the Crew.
(uuid: str | None, skip_validate: bool, force: bool)
| 991 | ), |
| 992 | ) |
| 993 | def deploy_push(uuid: str | None, skip_validate: bool, force: bool) -> None: |
| 994 | """Deploy the Crew.""" |
| 995 | # Backfills a project_id for projects that have [tool.crewai] but no id yet. |
| 996 | # Safe in every command the user explicitly invoked: get_or_create_project_id |
| 997 | # is a no-op without a pyproject.toml and refuses to create [tool.crewai], so it |
| 998 | # never rewrites an unrelated directory. Never called from the SDK during kickoff. |
| 999 | get_or_create_project_id() |
| 1000 | deploy_cmd = DeployCommand() |
| 1001 | deploy_cmd.deploy(uuid=uuid, skip_validate=skip_validate, force=force) |
| 1002 | |
| 1003 | |
| 1004 | @deploy.command(name="validate") |
nothing calls this directly
no test coverage detected