Add CLI implementation for reporting

This commit is contained in:
Matthias Beyer 2016-01-06 19:24:48 +01:00
parent 24b6460705
commit aa30137300

View file

@ -42,6 +42,13 @@ impl<'a> CliConfig<'a> {
self.cli_matches.is_present("debug")
}
/**
* Check whether the CLI says we should run with reporting
*/
pub fn report_exit(&self) -> bool {
self.cli_matches.is_present("report")
}
/**
* Get the runtime path the CLI configured
*/