Expand description
clap definitions for the CLI surface.
All flags carry /// doc comments in English.
clap parse failures exit with code 2, matching the documented fatal-code
contract; semantic conflicts (opt-in vs --exclude-ext) are validated in
FilterConfig::build.
The flag surface is normalized per subcommand: scan / verify accept
only detection + filtering + reporting options; conversion-only options
(--target, --dry-run, --backup-dir, --url, --output) exist solely
on convert, so misuse fails fast with exit 2 instead of being ignored.
Structs§
- Cli
- utf8-forge — a focused, idempotent, bidirectional charset transcoder.
- Convert
Args convertadditions: conversion options + remote fetch. Extends the sharedTreeArgs(whose--rootis ignored when--urlis given).- Diff
Args diffargs: two report files to compare. No tree options.- FixArgs
fixargs: shared tree options plus conversion options. No--url/--output— fix is a tree operation only.- Tree
Args - Detection / filtering / reporting options shared by
scan,verify, andconvert(tree mode). Conversion-only options live onConvertArgs.
Enums§
- Commands
- Subcommands. Named
Commandsto avoid colliding with the importedclap::Subcommandderive trait.