Skip to main content

prefect.cli.dev

Dev command — native cyclopts implementation. Internal Prefect development commands.

Functions

build_docs

build_docs(schema_path: Optional[str] = None)
Builds REST API reference documentation for static display.

build_ui

build_ui(no_install: bool = False)
Installs dependencies and builds UI locally. Requires npm.

ui

ui()
Starts a hot-reloading development UI.

api

api()
Starts a hot-reloading development API.

start

start()
Starts a hot-reloading development server with API, UI, and agent processes.

build_image

build_image()
Build a docker image for development.

container

container()
Run a docker container with local code mounted and installed.