Skip to content

fix(cli): synchronize help commands and usage and tests - #130

Merged
adityankale190895 merged 2 commits into
DiffCI:mainfrom
aniKet0753:fix/cli-help-command-list
Nov 14, 2026
Merged

adityankale190895 merged 2 commits into
DiffCI:mainfrom
aniKet0753:fix/cli-help-command-list

Conversation

@aniKet0753

Copy link
Copy Markdown
Contributor

Summary

Closes #129.

This PR keeps the CLI command documentation and help output in sync with the commands handled by main().

Changes

  • Updated the CLI header comment to include all supported commands.
  • Updated the red-builds usage line with the missing --check-jobs <regex> and --ci-only-jobs <regex> flags.
  • Added a CLI help test that verifies every command appears in the help output.
  • Added a reminder to update the test's command list whenever a new command is introduced.

Testing

  • npx tsx --test tests/client/cli-help.test.ts
  • CLI help test passes (1/1).

No CLI behavior changes.

@adityankale190895

Copy link
Copy Markdown
Member

Thanks @aniKet0753! I pushed a small follow-up commit (manifest entry, tsc path, header order), so audit:boundary passes now. One thing is left: your commit needs a DCO sign-off. Please run git pull first so you have my commit, then git rebase --signoff HEAD~2 and git push --force-with-lease.

aniKet0753 and others added 2 commits November 14, 2026 10:47
Add cli-help.test.ts to release-files.json so audit:boundary passes,
build with the CLI package's own TypeScript as plan-cli.test.ts does,
and place the new header entries next to related commands.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: adityankale190895 <[email protected]>
Signed-off-by: /\n!KeT KuMaR <[email protected]>
@aniKet0753
aniKet0753 force-pushed the fix/cli-help-command-list branch from fab3600 to c437e4e Compare November 14, 2026 05:17
@aniKet0753

Copy link
Copy Markdown
Contributor Author

@adityankale190895
Done!

@adityankale190895
adityankale190895 merged commit 0208e7d into DiffCI:main Nov 14, 2026
43 of 46 checks passed
@adityankale190895

adityankale190895 commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Merged, thanks @aniKet0753! The help text and USAGE now match the commands, and the new test will catch it if they drift again.

If DiffCI is useful to you, a star on the repo would help others find it. I'd also love to hear how it does on one of your own repos: npx @diffci.com/diffci@latest check from the repo root is the quickest way to try it (quickstart). If you do, please share your result, misses and fallbacks included.

adityankale190895 added a commit that referenced this pull request Nov 14, 2026
Adds @aniKet0753 to the README Contributors list for #130.

New: scripts/credit-contributors.mjs and the Credit contributors workflow.
When an outside contributor's pull request merges into main, the workflow
adds them to the README list (or appends the PR to their entry) and
commits to main. It runs from main under pull_request_target and only
reads PR metadata, so fork code never runs. It only adds lines, skips
PRs already linked (ranges included), and starts at #130; earlier ones
were credited by hand. CONTRIBUTING and the README say so.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: adityankale190895 <[email protected]>
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.

Keep the CLI command lists in step with the commands it runs

2 participants