Alastair
12/29/2025, 5:08 PMprefect deploy --all, how can I prevent it from asking me if I want to configure a schedule?Marvin
12/29/2025, 5:09 PMMarvin
12/29/2025, 5:13 PMprefect --no-prompt deploy --all
Note: --no-prompt is a global flag on prefect (it must come before `deploy`; prefect deploy --no-prompt ... will error).
- Or set the env var:
PREFECT_CLI_PROMPT=False prefect deploy --all
Either approach disables all interactive prompts during deployment, including the “configure a schedule?” prompt. If you do want schedules but still be non-interactive, define them in your prefect.yaml (or pass schedule flags) and keep --no-prompt on.