load_env_from

Function load_env_from 

Source
pub fn load_env_from<I, T>(paths: I)
where I: IntoIterator<Item = T>, T: AsRef<Path>,
Expand description

Tries to load the env. vars from these paths

// this will add envs it finds from the first to the last
// so important (read: secret/user) ends should be at the end of the iterator
simple_env_load::load_env_from(&["./env", "~/.config/.env"]);