Back to Prefect

flow

docs/v3/api-ref/python/prefect-cli-flow.mdx

3.6.30.dev3588 B
Original Source

prefect.cli.flow

Flow command — native cyclopts implementation.

View and serve flows.

Functions

ls <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/flow.py#L38" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

python
ls()

View flows.

serve <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/flow.py#L92" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

python
serve(entrypoint: str)

Serve a flow via an entrypoint.