prefect.cli
server
prefect.cli.server
Command line interface for working with the Prefect API and server.
Functions
generate_welcome_blurb
prestart_check
Check if PREFECT_API_URL
is set in the current profile. If not, prompt the user to set it.
Args:
base_url
: The base URL the server will be running on
start
Start a Prefect server instance
run_manager_process
This is an internal entrypoint used by prefect server services start --background
.
Users do not call this directly.
We do everything in sync so that the child won’t exit until the user kills it.
list_services
List all available services and their status.
start_services
Start all enabled Prefect services in one process.