Expand description
Unified Configuration Loader
This module handles loading configuration from the unified config file
at ~/.config/ralph-workflow.toml, with environment variable overrides.
§Configuration Priority
- Primary source:
~/.config/ralph-workflow.toml - Override layer: Environment variables (RALPH_*)
- CLI arguments: Final override (handled at CLI layer)
§Legacy Configs
Legacy config discovery is intentionally not supported. Only the unified config path is consulted, and missing config files fall back to defaults.
Functions§
- load_
config - Load configuration with the unified approach.
- load_
config_ from_ path - Load configuration from a specific path or the default location.
- load_
config_ from_ path_ with_ env - Load configuration from a specific path or the default location using a
ConfigEnvironment. - unified_
config_ exists - Check if the unified config file exists.
- unified_
config_ exists_ with_ env - Check if the unified config file exists using a
ConfigEnvironment.