Skip to content

fix(cli): align local help with upstream tools - #2345

Draft
liangmiQwQ wants to merge 9 commits into
voidzero-dev:mainfrom
liangmiQwQ:liang/codex/sync-local-tool-help
Draft

fix(cli): align local help with upstream tools#2345
liangmiQwQ wants to merge 9 commits into
voidzero-dev:mainfrom
liangmiQwQ:liang/codex/sync-local-tool-help

Conversation

@liangmiQwQ

@liangmiQwQ liangmiQwQ commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Refs: #2330 (comment)

The local CLI tool-backed help paraphrases upstream option labels and descriptions, which can hide wording differences from the bundled tools.

This PR aligns every existing local help item with the wording rendered by the Vite, Vitest, Oxlint, Oxfmt, and tsdown versions bundled on main. It also adds the upstream Oxlint “Allowing / Denying Multiple Lints” guidance requested in follow-up. It does not add command options or change the global CLI help.

All existing items are still available in the underlying tools, so no outdated items were removed.

🤖 Generated with Codex

voidzero-guard Bot and others added 2 commits August 5, 2026 09:23
- oxfmt: 0.61.0 -> 0.62.0
- oxlint: 1.76.0 -> 1.77.0
- @oxc-project/runtime: 0.142.0 -> 0.143.0
- @oxc-project/types: 0.142.0 -> 0.143.0
- oxc-minify: 0.142.0 -> 0.143.0
- oxc-parser: 0.142.0 -> 0.143.0
- oxc-transform: 0.142.0 -> 0.143.0
- @vitejs/devtools: 0.4.10 -> 0.4.12

Code changes:
- packages/cli/rules/vite-tools.yml: collapse duplicate blank lines (formatter output)
@liangmiQwQ
liangmiQwQ changed the base branch from deps/upstream-update to main August 5, 2026 13:04
@liangmiQwQ
liangmiQwQ marked this pull request as ready for review August 5, 2026 13:10
@liangmiQwQ
liangmiQwQ marked this pull request as draft August 5, 2026 13:10
@netlify

netlify Bot commented Aug 5, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 5a1d89a
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a733f720f31ad0009559895

@liangmiQwQ
liangmiQwQ marked this pull request as ready for review August 5, 2026 14:00
@liangmiQwQ
liangmiQwQ requested a review from fengmk2 August 5, 2026 14:00
@liangmiQwQ

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5a1d89ab82

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/cli/src/help.ts
{
label: '--coverage',
description: 'Enable coverage reporting',
description: "Enable coverage report. Use '--help --coverage' for more info.",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P3 Badge Remove unreachable Vitest deep-help hints

When users follow this new text with vp test --help --coverage, maybePrintCommandHelp treats any --help before -- as local help and returns before delegating, so Vitest never receives the option-specific help request; the command just reprints this static page. Please either pass --help --<topic> through for Vitest or remove these upstream deep-help hints from the Vite+ page.

Useful? React with 👍 / 👎.

Comment thread packages/cli/src/help.ts
Comment thread packages/cli/src/help.ts
@liangmiQwQ
liangmiQwQ marked this pull request as draft August 5, 2026 14:18
@liangmiQwQ
liangmiQwQ removed the request for review from fengmk2 August 5, 2026 14:18
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