Expand description
Clap flatten structs for shared flags. Shared clap flatten structs.
Structs§
- Color
Long --colorwithout-c, for CLIs that already use-cfor config.- DryRun
Args -n/--dry-runwith--previewas the visible alias.- Flag
Warning - One warning. Display is the stderr line after
{bin}: warning:. - Format
Args -f/--formatand-q/--quietwithout-c.- Output
Args - Global pretty/JSON output, color, quiet. Flatten onto the root parser.
Enums§
- Warning
Kind - How two (or more) flags fight.
Functions§
- chassis_
warnings - Chassis flags known to ctl-core.
- emit_
warnings - Print
{bin}: warning: …for each finding. - resolve_
color --no-colorwins over a--colorvalue.- switch
- Last-wins boolean after clap
overrides_with.onis the yes flag. - warn_
opposites --foo/--no-fooboth present.