mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
docs: Enhance module documentation across various files for clarity a… (#62)
* docs: Enhance module documentation across various files for clarity and completeness * fix: Remove unnecessary blank line in build.rs for cleaner code * docs: Update documentation to improve clarity and consistency in code comments
This commit is contained in:
parent
40995e45e7
commit
1f2bfe76c1
44 changed files with 721 additions and 366 deletions
10
src/cli.rs
10
src/cli.rs
|
|
@ -1,3 +1,11 @@
|
|||
//! Command-line interface definition via clap.
|
||||
//!
|
||||
//! Defines [`Cli`] (the top-level parser) and the [`Commands`] enum of
|
||||
//! subcommands. Helpers on [`Commands`] answer routing questions the binary
|
||||
//! needs without pattern-matching on specific arms: [`Commands::effective_format`],
|
||||
//! [`Commands::is_structured_output`], [`Commands::is_serve`], and
|
||||
//! [`Commands::is_informational`].
|
||||
|
||||
use clap::{Parser, Subcommand, ValueEnum};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
|
|
@ -250,7 +258,7 @@ pub enum Commands {
|
|||
#[arg(long, help_heading = "Output")]
|
||||
no_rank: bool,
|
||||
|
||||
/// Show inline-suppressed findings (dimmed, tagged [SUPPRESSED])
|
||||
/// Show inline-suppressed findings (dimmed, tagged \[SUPPRESSED\])
|
||||
#[arg(long, help_heading = "Output")]
|
||||
show_suppressed: bool,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue