Skip to main content

Module cli_settings

Module cli_settings 

Source
Expand description

CLI-wide runtime settings: output format, verbosity, colour, and interactivity.

CliConfig holds the resolved presentation options for a CLI invocation: defaults, overridden by the crate::env_overrides::EnvOverrides snapshot (CliConfig::resolve), overridden by command-line flags. The OutputFormat, VerbosityLevel, and ColorMode enums express the individual axes. The resolved config travels explicitly on crate::context::CommandContext; there is no process-global instance.

Structs§

CliConfig

Enums§

ColorMode
OutputFormat
VerbosityLevel