docs: add CLI reference and improve help output#315
Conversation
- Create comprehensive docs/cli.md with full command reference - Add option groups to all commands for organized help display - Add usage examples to all commands via addHelpText() - Improve option descriptions for clarity: - --semantic: "Generate prompt variations to test robustness" - --samples: "Multi-sample judgment count (improves confidence)" - --reps: "Repeat each scenario N times (measures variance)" - Add default note to --config options Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Claude finished @sjnims's task in 2m 22s —— View job PR Review: docs: add CLI reference and improve help outputVerdict: ✅ Looks GoodThis PR adds comprehensive CLI documentation and improves help output with well-organized option groups and practical examples. Quality Checks ✅All automated checks pass:
What's GoodDocumentation Quality:
Code Quality:
Consistency:
Suggestions1. Documentation - Verbose Option Placement (Non-blocking) In **Input Options:**
| Option | Description |
| -------------------- | ----------------------------------------- |
| `-p, --plugin <path>`| Path to plugin directory |
| `-c, --config <path>`| Path to config file (default: config.yaml)|
| `--verbose` | Detailed progress output |For consistency with the Note: The actual implementation in SummaryExcellent work on improving the CLI documentation and help output! The comprehensive reference guide will significantly improve discoverability and usability. The changes are well-tested, properly formatted, and follow the project's patterns. The only minor observation is about Recommended action: Merge when ready. ✅ |
Addresses review feedback for consistency with run command. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Fixed in 0573ec5 - moved |
|
Claude finished @sjnims's task in 2m 47s —— View job PR Review: docs: add CLI reference and improve help outputVerdict: ✅ Approved - Excellent WorkThis PR successfully adds comprehensive CLI documentation and improves help output with well-organized option groups and practical examples. The follow-up fix in commit 0573ec5 properly addressed the previous review feedback. Quality Checks ✅All automated checks pass:
What's GoodDocumentation Quality:
Code Quality:
Fix Verification:
Suggestions1. Minor Consistency Note (Non-blocking) I posted an inline comment on 2. Documentation Enhancement Opportunities (Future consideration) These are excellent additions that could be considered for future PRs:
SummaryOutstanding work! This PR significantly improves the CLI user experience through:
The fix in commit 0573ec5 properly addressed the previous review feedback about Recommendation: Merge when ready. This is a solid documentation improvement that will help users discover and use the CLI effectively. ✅ |
Description
Add comprehensive CLI documentation and improve help output for all commands with option groups and usage examples.
Type of Change
Component(s) Affected
Core Infrastructure
src/cli/)Other
CLAUDE.md,README.md)Motivation and Context
The CLI help output needed improvements for better discoverability and usability. This change:
How Has This Been Tested?
Test Configuration:
Test Steps:
npm run build && npm run lint && npm run typecheck && npm test- all passnpm run format && npm run knip && npm run madge- all passcc-plugin-eval --helpcc-plugin-eval run --helpcc-plugin-eval resume --helpcc-plugin-eval report --helpcc-plugin-eval list --helpcc-plugin-eval analyze --helpcc-plugin-eval generate --helpcc-plugin-eval execute --helpChecklist
General
TypeScript / Code Quality
npm run typecheck)Documentation
Linting
npm run lintand fixed all issuesnpm run format:checkTesting
npm testand all tests passExample Output
Additional Notes
Files changed:
docs/cli.md- New comprehensive CLI reference (428 lines)src/cli/commands/*.ts- Added option groups and examples to all 7 commands🤖 Generated with Claude Code