diff options
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -43,6 +43,13 @@ impl<'a> CliConfig<'a> { } /** + * 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 */ pub fn get_rtp(&self) -> Option<String> { |