Skip to content

feat: add help command to list all available commands - #7

Closed
surajair wants to merge 1 commit into
mainfrom
claude/chaibuilder-help-command-1p8wsy
Closed

feat: add help command to list all available commands#7
surajair wants to merge 1 commit into
mainfrom
claude/chaibuilder-help-command-1p8wsy

Conversation

@surajair

Copy link
Copy Markdown
Contributor

Registers an explicit help subcommand alongside the existing --help
flag so chaibuilder-app help also prints the full command list.

Registers an explicit `help` subcommand alongside the existing --help
flag so `chaibuilder-app help` also prints the full command list.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an explicit help subcommand to the CLI so chaibuilder-app help prints the same full command usage/listing as the existing --help flag, aligning the UX with common CLI expectations.

Changes:

  • Imports showUsage from citty to render the top-level command help output.
  • Introduces a new help subcommand that delegates to showUsage(main).
  • Registers the new help command under main.subCommands.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chaibuilder-dev

Copy link
Copy Markdown
Contributor

Already there
image

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.

4 participants