Skip to main content

prefect shell

Serve and watch shell commands as Prefect flows.

prefect shell watch

Execute a shell command and observe it as a Prefect flow.

Arguments

string
required

Options

Log output to Prefect.
Name of the flow run.
Name of the flow.
Stream output.
Tags for the flow run (repeatable).

prefect shell serve

Create and serve a deployment that runs a shell command.

Arguments

string
required

Options

Name of the flow.
Name of the deployment.
Deployment tags (repeatable).
Stream output.
Cron schedule.
Timezone for the schedule.
Max concurrent flow runs.
Run once instead of forever.