added JSONL output option #694

This commit is contained in:
DastInDark
2022-09-16 00:01:53 +09:00
parent 6d3d248133
commit c6fc18a5fb
2 changed files with 31 additions and 8 deletions

View File

@@ -241,6 +241,10 @@ pub struct Config {
#[clap(help_heading = Some("OUTPUT"), short = 'j', long = "json", requires = "output")]
pub json_timeline: bool,
/// Save the timeline in JSONL format (ex: -J -o results.jsonl)
#[clap(help_heading = Some("OUTPUT"), short = 'J', long = "jsonl", requires = "output")]
pub jsonl_timeline: bool,
/// Do not display result summary
#[clap(help_heading = Some("DISPLAY-SETTINGS"), long = "no-summary")]
pub no_summary: bool,