diff --git a/src/cli.rs b/src/cli.rs index fa48cad9..b493943a 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -8,7 +8,7 @@ struct ConfigBase { pub struct ModuleConfig { base : ConfigBase, - load : bool, + pub load : bool, } impl ModuleConfig { @@ -25,7 +25,7 @@ impl ModuleConfig { pub struct Config { base : ConfigBase, - module_configs : Vec, + pub module_configs : Vec, } impl Config { @@ -38,6 +38,14 @@ impl Config { module_configs: vec![], } } + + pub fn is_verbose(&self) -> bool { + self.base.verbosity + } + + pub fn is_debugging(&self) -> bool { + self.base.debugging + } } pub fn configure(config : &mut Config) {