Skip to content

Add per-subcommand help text to traverse-cli - #319

Merged
enricopiovesan merged 3 commits into
mainfrom
claude/issue-285-cli-help
Apr 18, 2026
Merged

Add per-subcommand help text to traverse-cli#319
enricopiovesan merged 3 commits into
mainfrom
claude/issue-285-cli-help

Conversation

@enricopiovesan

@enricopiovesan enricopiovesan commented Apr 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add --help detection at three levels: global, family, and subcommand
  • Each subcommand help page includes: purpose, required arguments, optional flags, and one example invocation
  • Covers all families: bundle, agent, workflow, expedition, capability, event, trace, browser-adapter
  • 11 new tests added; all tests pass
  • docs/cli-reference.md updated to document the three-level help tree

Governing Spec

  • 001-foundation-v0-1
  • 004-spec-alignment-gate
  • 017-ai-agent-packaging

Project Item

Validation

  • cargo build -p traverse-cli — passed
  • cargo test -p traverse-cli — 36/36 pass
  • bash scripts/ci/spec_alignment_check.sh — passed
  • bash scripts/ci/repository_checks.sh — passed

@enricopiovesan
enricopiovesan force-pushed the claude/issue-285-cli-help branch from 9505661 to 27aa57d Compare April 18, 2026 14:05
enricopiovesan and others added 3 commits April 18, 2026 14:29
Detects --help at global, family, and subcommand levels and returns
purpose, required arguments, optional flags, and an example invocation
for each command family (bundle, agent, workflow, expedition, capability,
event, trace, browser-adapter). Adds 11 new tests covering all help
paths and updates docs/cli-reference.md to reflect the new help tree.

Closes #285

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@enricopiovesan
enricopiovesan force-pushed the claude/issue-285-cli-help branch from cb606d0 to 0432725 Compare April 18, 2026 19:29
@enricopiovesan
enricopiovesan merged commit d67c045 into main Apr 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CLI subcommand help is a generic stub — no per-command help, flags, or examples

1 participant