Skip to content

fix(cli): list check in root help#2295

Open
miguel-heygen wants to merge 1 commit into
mainfrom
fix/list-check-in-help
Open

fix(cli): list check in root help#2295
miguel-heygen wants to merge 1 commit into
mainfrom
fix/list-check-in-help

Conversation

@miguel-heygen

Copy link
Copy Markdown
Collaborator

What

Add check to the Project section of root CLI help.

Why

CLI 0.7.54 deprecates validate and inspect in favor of hyperframes check, but hyperframes --help did not list the replacement command even though it was registered and usable. That made the deprecation guidance look invalid.

How

  • List check alongside the other project-quality commands.
  • Add a command-registration regression test requiring registered check to appear in root help.

Test plan

  • bunx vitest run src/cli.commands.test.ts
  • bun run test (128 files, 1,637 tests passed)
  • bun run typecheck
  • bunx oxfmt --check src/help.ts src/cli.commands.test.ts
  • bunx oxlint src/help.ts src/cli.commands.test.ts

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