pub fn load(cli_url: Option<&str>, cli_api_key: Option<&str>) -> Result<Config>Expand description
Load configuration by merging CLI args, env vars, and the TOML file.
ยงErrors
Returns an error when neither base_url nor api_key can be resolved
from any source.