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