Skip to main content

load_env_file_if_present

Function load_env_file_if_present 

Source
pub fn load_env_file_if_present(path: Option<&Path>) -> CliResult<()>
Expand description

Load the resolved .env via dotenvy::from_path. No-op when path is None. Process-env values always win over .env-supplied ones — that’s the dotenvy default and we deliberately don’t override it.