-
Add help verbosity modes to CLI help output (#3205)
发布于
2026-04-14 11:07:12 +00:00 Summary
- Added
simple,default, andverbosehelp levels to the CLI help
renderer and visibility filtering. - Updated root and subcommand help matching so
--help <mode>is
recognized and routed correctly. - Expanded root help content to show a compact simple mode and a more
detailed verbose mode, including additional commands. - Added coverage for help-level parsing, root help rendering, and
subcommand help behavior.
Testing
- Added/updated Vitest checks for
--help simpleand--help verbose
output. - Added tests covering help-mode suffix parsing in subcommand matching.
- Added tests verifying simple subcommand help omits examples and
injected helpers. - Not run locally in this session.
Co-authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com
下载附件
- Added