Expand description
Shared CLI plumbing: persisted state (config, secrets) and the FHIR HTTP client
built from it. Not user-facing commands themselves โ see crate::commands for those.
Modulesยง
- client ๐
- Builds the authenticated FHIR HTTP client used by commands that talk to a server
(
api,testscript,hl7v2), based on the active profileโs auth mode. - config ๐
- Schema and on-disk persistence for named server connection profiles
(
~/.haste_health/config.toml). Theconfigcommand (create/delete/list profiles) lives incrate::commands::config; this module only owns the data. - secrets ๐
- Storage for CLI secret material (OIDC client secrets, cached OAuth tokens).
- state ๐
- In-memory CLI state for a single invocation, plus the on-disk locations itโs seeded from.