pub fn get(key: &str) -> Option<String>Expand description
Get a config value by key. Returns None if the key doesn’t exist.
ⓘ
let units = config::get("units").unwrap_or_else(|| "metric".to_string());