Skip to main content

Module profile

Module profile 

Source
Expand description

Profile discovery and resolution shared across CLI commands.

Resolves a profile to its on-disk path and loaded Profile from a CLI override, an environment variable, a stored session, or directory discovery, reporting failures via ProfileResolutionError. Also provides profile-authoring helpers (save_profile_yaml, display-name and pepper generation) used by the profile-creation flows.

Structs§

DiscoveredProfile

Enums§

ProfileResolutionError

Functions§

discover_profiles
generate_display_name
generate_oauth_at_rest_pepper
is_path_input
resolve_profile_from_path
resolve_profile_path
resolve_profile_with_data
save_profile_yaml