Context
The dispatch infrastructure for per-command --help was added in commit 20ab9f8 (the helpText field on the Command type, checked in main.ts before dispatch). But the actual help text content for each of the 30 commands hasn't been written yet.
Currently grove contribute --help prints a generic fallback: grove contribute — Submit a contribution. Run 'grove --help' for full usage.
What needs to happen
Add a helpText string to each command in buildCommands() (src/cli/main.ts) with:
- Usage line with flags
- Flag descriptions
- 1-2 examples
Use existing registry.ts CommandMeta (flags, subcommands) as the source of truth.
Files
src/cli/main.ts — add helpText to each command entry
src/cli/registry.ts — reference for flags/subcommands
Tests
- Spot-check 5 commands:
grove contribute --help, grove frontier --help, grove gossip --help, grove bounty --help, grove session --help
From design review plan: /Users/tafeng/.claude/plans/cryptic-percolating-boole.md
Context
The dispatch infrastructure for per-command
--helpwas added in commit 20ab9f8 (thehelpTextfield on the Command type, checked inmain.tsbefore dispatch). But the actual help text content for each of the 30 commands hasn't been written yet.Currently
grove contribute --helpprints a generic fallback:grove contribute — Submit a contribution. Run 'grove --help' for full usage.What needs to happen
Add a
helpTextstring to each command inbuildCommands()(src/cli/main.ts) with:Use existing
registry.tsCommandMeta (flags, subcommands) as the source of truth.Files
src/cli/main.ts— addhelpTextto each command entrysrc/cli/registry.ts— reference for flags/subcommandsTests
grove contribute --help,grove frontier --help,grove gossip --help,grove bounty --help,grove session --helpFrom design review plan:
/Users/tafeng/.claude/plans/cryptic-percolating-boole.md