Add CLI implementation for reporting

This commit is contained in:
Matthias Beyer 2016-01-06 19:24:48 +01:00
parent 24b6460705
commit aa30137300
1 changed files with 7 additions and 0 deletions

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
*/