pub fn load_with_env_overrides(
path: Option<&Path>,
) -> Result<Config, ConfigError>Expand description
Load config with env-var overrides applied on top of file values.
Returns Config::default() if path is None or the file doesn’t exist.
Env var precedence per Client spec rev1 §5:
CLEANLIBRARY_API_KEY→auth.api_keyCLEANLIBRARY_ENDPOINT→endpoint.urlCLEANLIBRARY_API_VERSION→endpoint.api_versionCLEANLIBRARY_TELEMETRY(0/1/true/false) →telemetry.enabled