Skip to main content

prefect.cli.deployment

Deployment command — native cyclopts implementation. Manage deployments and deployment schedules.

Functions

inspect

View details about a deployment.

ls

View all deployments or deployments for specific flows.

run

Create a flow run for the given flow and deployment. The flow run will be scheduled to run immediately unless --start-in or --start-at is specified. The flow run will not execute until a worker starts. To watch the flow run until it reaches a terminal state, use the --watch flag.

delete

Delete a deployment.

create_schedule

Create a schedule for a given deployment.

delete_schedule

Delete a deployment schedule.

pause_schedule

Pause deployment schedules.

resume_schedule

Resume deployment schedules.

list_schedules

View all schedules for a deployment.

clear_schedules

Clear all schedules for a deployment.