pub fn get_env_bool(name: &str, default: Option<bool>) -> Result<bool>Expand description
Get the boolean value from env variable name. If missing, if
default is given, return that, otherwise return an
error. Returns errors for invalid values (anything else than
0|1|f|t|n|y).