Skip to main content

Module config

Module config 

Source
Expand description

cellctl configuration — persisted at ~/.cellctl/config (TOML).

The on-disk shape is intentionally tiny. cellctl never caches CellOS state locally; the only legitimate client-local state is the server URL, the optional API token, and (eventually, per Session 16) the NATS stream cursor. Anything else would violate the “events are the source of truth” principle.

Structs§

Config

Functions§

config_path
Resolve the config file path, honoring $CELLCTL_CONFIG and $XDG_CONFIG_HOME.
load
save