Expand description
In-memory CLI state for a single invocation, plus the on-disk locations itβs seeded from.
StructsΒ§
- CliState π
StaticsΒ§
- CLI_
STATE π - Lazily loads
CONFIG_LOCATION/SECRETS_LOCATIONfrom disk on first access. - CONFIG_
DIR π - Directory holding the CLIβs config and secrets files (
~/.haste_health). - CONFIG_
LOCATION π - Non-secret profile config (server URLs, auth mode). Safe to inspect or back up.
- SECRETS_
LOCATION π - Client secrets and cached OAuth tokens, kept out of
CONFIG_LOCATIONso they never show up viaconfig show-profileor similar.