Expand description
Schema and on-disk persistence for named server connection profiles
(~/.haste_health/config.toml). The config command (create/delete/list profiles)
lives in crate::commands::config; this module only owns the data.
Secret material (client secrets, cached OAuth tokens) is never stored here β see
crate::cli::secrets β so this file is safe to inspect, back up, or share.
StructsΒ§
- CliConfiguration π
- Profile π
- A named connection to a FHIR server plus how the CLI should authenticate to it.
EnumsΒ§
- Profile
Auth π - How the CLI authenticates for a given profile. Any secret values (client secret, cached tokens) live in the separate secrets file, keyed by profile name.
FunctionsΒ§
- load_
config π - Loads the config file, creating a default one on disk if it doesnβt exist yet.
- read_
existing_ πconfig - write_
config π