Skip to main content

prefect.cli.config

Config command — native cyclopts implementation. Manages Prefect settings and profiles.

Functions

set_

set_(settings: Annotated[list[str], cyclopts.Parameter(help='Settings in VAR=VAL format')]) -> None
Change the value for a setting by setting the value in the current profile.

validate

validate() -> None
Read and validate the current profile. Deprecated settings will be automatically converted to new names.

unset

unset(setting_names: Annotated[list[str], cyclopts.Parameter(help='Setting names to unset')]) -> None
Restore the default value for a setting. Removes the setting from the current profile.

view

view() -> None
Display the current settings.