Expand description
profile add/list/use actions — pure config operations, no printing,
serde models out (declaration order = golden field order).
Structs§
- Profile
AddResult - Result of
profile add(declaration order = golden field order). - Profile
List Result - Result of
profile list. - Profile
Summary - One
profile listrow —auth_kindis a safe kind string, NEVER a secret or env value. - Profile
UseResult - Result of
profile use.
Functions§
- add
- Add (or overwrite) a profile and persist the config (0600).
- list
- List profiles (name-sorted via
BTreeMaporder). - use_
profile - Switch the active profile. A missing config file behaves like an unknown
profile (
loadyields the empty default, so the name simply is not in the known list) — exit 3, same class.