Skip to main content

prefect.cli.profile

Profile command — native cyclopts implementation. Manages Prefect profiles.

Functions

ls

List profile names.

create

Create a new profile.

use

Set the given profile to active.

delete

Delete the given profile.

rename

Change the name of a profile.

inspect

Display settings from a given profile; defaults to active.

populate_defaults

Populate the profiles configuration with default base profiles, preserving existing user profiles.

check_server_connection

Classes

ConnectionStatus

Methods:

auto

Exposes enum.auto() to avoid requiring a second import to use AutoEnum