1.3 KiB
1.3 KiB
CLI Help Text and Discoverability
Module
Cli
Status
IMPLEMENTED
Description
Improved help text generation showing the new command hierarchy with clear categories for better discoverability.
Implementation Details
- Command Factory:
src/Cli/StellaOps.Cli/Commands/CommandFactory.cs-- builds command hierarchy with descriptive help text - Command Groups: All command groups under
src/Cli/StellaOps.Cli/Commands/provide description strings fornew Command("name", "description") - Tests:
src/Cli/__Tests/StellaOps.Cli.Tests/Integration/HelpTextTests.cs-- validates help text output - Resource hierarchy: ~18 top-level groups (scan, release, verify, attest, evidence, policy, vex, reachability, sbom, crypto, config, auth, admin, ci, setup, explain, tools, doctor)
E2E Test Plan
- Run
stella --helpand verify top-level command categories are listed with descriptions - Run
stella scan --helpand verify scan subcommands listed with descriptions - Run
stella config --helpand verify config subsections (notify, feeds, integrations, etc.) - Verify each top-level command group has a meaningful description
- Verify
--helpworks on every subcommand level - Verify help text shows option descriptions and default values