mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-12 19:55:14 +02:00
[pitboss/grind] cleanup session-0004 (20260522T163126Z-7d60)
This commit is contained in:
parent
0e4e393000
commit
0d4ab22c4c
7 changed files with 119 additions and 45 deletions
|
|
@ -36,6 +36,12 @@ impl Commands {
|
|||
&& (fmt == OutputFormat::Json || fmt == OutputFormat::Sarif)
|
||||
}
|
||||
|
||||
/// Whether the user explicitly asked this invocation to suppress
|
||||
/// human-readable output.
|
||||
pub fn quiet_requested(&self) -> bool {
|
||||
matches!(self, Commands::Scan { quiet: true, .. })
|
||||
}
|
||||
|
||||
/// Whether this is a long-running server command (skip timing output).
|
||||
pub fn is_serve(&self) -> bool {
|
||||
matches!(self, Commands::Serve { .. })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue