Expand description
CLI grammars for the leaf tools, hosted in the lib so each tool’s clap
definition is introspectable and reusable. Each src/bin/<tool>.rs entry
point is a thin parse-and-dispatch wrapper over the Cli struct defined
here; the schema-drift guard reconciles every docs/explain/<tool>.json
against the live grammar these expose (see flags).
Modules§
- ct_
await - The
ct-awaitcommand grammar (seecrate::cli); thect-awaitbin is a thin parse-and-dispatch wrapper over thisCli. - ct_
check - The
ct-checkcommand grammar (seecrate::cli); thect-checkbin is a thin parse-and-dispatch wrapper over thisCli. - ct_each
- The
ct-eachcommand grammar (seecrate::cli); thect-eachbin is a thin parse-and-dispatch wrapper over thisCli. - ct_edit
- The
ct-editcommand grammar (seecrate::cli); thect-editbin is a thin parse-and-dispatch wrapper over thisCli. - ct_
outline - The
ct-outlinecommand grammar (seecrate::cli); thect-outlinebin is a thin parse-and-dispatch wrapper over thisCli. - ct_
patch - The
ct-patchcommand grammar (seecrate::cli); thect-patchbin is a thin parse-and-dispatch wrapper over thisCli. - ct_
rules - The
ct-rulescommand grammar (seecrate::cli); thect-rulesbin is a thin parse-and-dispatch wrapper over thisCli. - ct_
search - The
ct-searchcommand grammar (seecrate::cli); thect-searchbin is a thin parse-and-dispatch wrapper over thisCli. - ct_test
- The
ct-testcommand grammar (seecrate::cli); thect-testbin is a thin parse-and-dispatch wrapper over thisCli. - ct_tree
- The
ct-treecommand grammar (seecrate::cli); thect-treebin is a thin parse-and-dispatch wrapper over thisCli. - ct_view
- The
ct-viewcommand grammar (seecrate::cli); thect-viewbin is a thin parse-and-dispatch wrapper over thisCli.
Functions§
- commands
- Every leaf tool’s name paired with its clap grammar. Built-in checks
(
deps/mods) are probe heads, not standalone tools, and are introspected separately via their owncheck_flags. - flags
- Every leaf tool’s name paired with its
(long-flag, kind)list —kindis"boolean","array", or"string"— read straight from the clap grammar. The introspection behind the schema-drift guard; uses the same reader as the built-in checks ([crate::deps::flag_kinds]).