use std::env;
pub struct Configuration;
impl Configuration {
pub fn basefolder() -> String {
env::var("ORGFLOW_BASEFOLDER").unwrap_or_else(|_| {
if let Some(home) = env::var_os("HOME") {
format!("{}/orgflow", home.to_string_lossy())
} else {
"./orgflow".to_string()
}
})
}
}