Expand description
Filesystem locations used by the CLI and the registry client.
All paths are derived from the XDG_* / HOME environment so the
behaviour matches TODO.roadmap/07-cli-tools.md (Configuration
section) on POSIX systems:
- config:
~/.config/confium/ - plugins:
~/.local/share/confium/plugins/
Each helper accepts an optional override root so tests can point the
CLI at a temp directory without touching the real home. When the
override is None the function falls back to the environment-derived
path.
Functionsยง
- config_
dir - The base config directory, honouring
XDG_CONFIG_HOMEthen$HOME. - config_
file - The main config file (
<config>/config.toml). - plugin_
install_ dir - Where a single installed plugin artifact lives:
<plugins>/<name>-<version>.so. - plugins_
dir - The base data directory for installed plugins.
- trust_
dir - The trust-store directory (
<config>/trust).