Skip to main content

Module cli

Module cli 

Source
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-await command grammar (see crate::cli); the ct-await bin is a thin parse-and-dispatch wrapper over this Cli.
ct_check
The ct-check command grammar (see crate::cli); the ct-check bin is a thin parse-and-dispatch wrapper over this Cli.
ct_each
The ct-each command grammar (see crate::cli); the ct-each bin is a thin parse-and-dispatch wrapper over this Cli.
ct_edit
The ct-edit command grammar (see crate::cli); the ct-edit bin is a thin parse-and-dispatch wrapper over this Cli.
ct_okf
The ct-okf command grammar (see crate::cli). Unlike the other leaf tools — which are flat-flag — ct-okf is subcommand-shaped (ct okf search, ct okf roots add, …), because its surface spans querying, root management, index maintenance, and authoring. The ct-okf bin is a parse-and-dispatch wrapper over this Cli.
ct_outline
The ct-outline command grammar (see crate::cli); the ct-outline bin is a thin parse-and-dispatch wrapper over this Cli.
ct_patch
The ct-patch command grammar (see crate::cli); the ct-patch bin is a thin parse-and-dispatch wrapper over this Cli.
ct_rules
The ct-rules command grammar (see crate::cli); the ct-rules bin is a thin parse-and-dispatch wrapper over this Cli.
ct_search
The ct-search command grammar (see crate::cli); the ct-search bin is a thin parse-and-dispatch wrapper over this Cli.
ct_steer
The ct-steer command grammar (see crate::cli). Like ct-okf, this tool is subcommand-shaped (ct steer hook, ct steer install, …) because its surface spans the runtime hook, settings installation, and a dry-run check. The ct-steer bin is a parse-and-dispatch wrapper over this Cli.
ct_survey
The ct-survey command grammar (see crate::cli); the ct-survey bin is a thin parse-and-dispatch wrapper over this Cli.
ct_test
The ct-test command grammar (see crate::cli); the ct-test bin is a thin parse-and-dispatch wrapper over this Cli.
ct_tree
The ct-tree command grammar (see crate::cli); the ct-tree bin is a thin parse-and-dispatch wrapper over this Cli.
ct_view
The ct-view command grammar (see crate::cli); the ct-view bin is a thin parse-and-dispatch wrapper over this Cli.

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 own check_flags.
grammars
Every leaf tool’s name paired with its introspected crate::deps::Grammar (flag specs + clap-required names). The introspection behind the schema-drift guard; uses the same reader as the built-in checks ([crate::deps::grammar]).