Skip to content

fix: support command-specific help output - #59

Merged
thymikee merged 2 commits into
mainfrom
codex/command-help-routing
Feb 16, 2026
Merged

thymikee merged 2 commits into
mainfrom
codex/command-help-routing

Conversation

@thymikee

Copy link
Copy Markdown
Member

Summary

Add command-aware help routing so both help <command> and <command> --help show command-specific docs with separated command/global flags.

  • Added schema-backed command help rendering in command-schema and exposed it through usageForCommand.
  • Updated CLI routing to handle help alias/flag in one flow, return correct exit codes, and avoid daemon calls for help-only paths.
  • Added/extended tests for args help content and CLI help routing, including unknown-command and extra-arg failure cases.

Validation

  • pnpm typecheck
  • pnpm test:unit

@github-actions

github-actions Bot commented Feb 16, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-02-16 10:13 UTC

@thymikee
thymikee merged commit 5709f8d into main Feb 16, 2026
6 checks passed
@thymikee
thymikee deleted the codex/command-help-routing branch February 16, 2026 10:13
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.

1 participant