Add CLI implementation for reporting
This commit is contained in:
parent
24b6460705
commit
aa30137300
1 changed files with 7 additions and 0 deletions
|
@ -42,6 +42,13 @@ impl<'a> CliConfig<'a> {
|
||||||
self.cli_matches.is_present("debug")
|
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
|
* Get the runtime path the CLI configured
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue