pub fn load_config() -> Result<Config>Expand description
Loads merged config from env, optional config.json, and the OS keyring.
Bearer token resolution order: API_TOKEN, then UTF-8 file at ROMM_TOKEN_FILE or API_TOKEN_FILE
(max 64 KiB, trimmed), then JSON. If a token file path is set but the file is missing, empty, or
too large, returns an error.