Expand description
Generates drill-down command hints for CLI output.
When --hints is enabled, each command’s output includes suggested next
commands. All hints are concrete, executable strings — no templates or
placeholders.
Structs§
- Common
Hint Flags - Common global flags captured once per command dispatch and threaded into
every
HintContext. Avoids repeating the same three field assignments in everymatcharm ofrun.rs. - Hint
- A single drill-down hint: a concrete command plus a short human-readable description.
- Hint
Context - Global flags to propagate into generated hint commands.
Enums§
- Hint
Source - Identifies which command produced the output.
Functions§
- generate_
hints - Generate concrete drill-down hints from a command’s JSON output.
- shell_
quote - Wrap a string in single-quotes if it contains any shell-special characters.