Skip to main content

load_effective

Function load_effective 

Source
pub fn load_effective(
    workspace: &Path,
    env_vars: &[(String, String)],
) -> Result<EffectiveConfig, ConfigError>
Expand description

Load and merge config layers, producing an EffectiveConfig.

Precedence here is environment > project config > global config > defaults. Command-line flags are applied by crate::cli::Cli after parsing.