prefect.cli.profile

Command line interface for working with profiles.

Functions

ls

ls()

List profile names.

create

create(name: str, from_name: str = typer.Option(None, '--from', help='Copy an existing profile.'))

Create a new profile.

delete

delete(name: str)

Delete the given profile.

rename

rename(name: str, new_name: str)

Change the name of a profile.

inspect

inspect(name: Optional[str] = typer.Argument(None, help='Name of profile to inspect; defaults to active profile.'))

Display settings from a given profile; defaults to active.

show_profile_changes

show_profile_changes(user_profiles: ProfilesCollection, default_profiles: ProfilesCollection) -> bool

populate_defaults

populate_defaults()

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

Classes

ConnectionStatus