Skip to main content

Crate domain_status_cli

Crate domain_status_cli 

Source
Expand description

CLI definition for domain-status (single source of truth).

Used by the main crate for parsing and by build.rs for shell completions and man page.

Structs§

ExportCommand
Export command arguments.
ScanCommand
Scan command arguments.
SummaryCommand
Summary command arguments.

Enums§

CliCommand
Root CLI command (subcommand required).
ExportFormat
Export output format.
FailOn
Exit code policy for handling failures.
LogFormat
Log output format.
LogLevel
Logging level for the application.

Constants§

ACCEPTABLE_USE_HELP
Shown on --help so the default scan path stays authorized-use only.
DEFAULT_USER_AGENT
Default User-Agent for HTTP requests when the caller does not override --user-agent.

Functions§

clap_command
Returns the full CLI Command for codegen (completions, man page) and for --print-completions / --print-manpage. Pass a static version string (e.g. env!("DOMAIN_STATUS_VERSION") or env!("CARGO_PKG_VERSION")).