Skip to main content

load_env_file

Function load_env_file 

Source
pub fn load_env_file() -> Option<PathBuf>
Expand description

Sets each KEY=VALUE from the env file (ENV_FILE_ENV or the default web-client path) that the environment does not already have. Blank lines and # comments are skipped; surrounding quotes are dropped. Call at the start of main, before any thread starts. Returns the file read.