Skip to content

fix(cli): guide local users to global-only commands - #2522

Merged
fengmk2 merged 5 commits into
voidzero-dev:mainfrom
jong-kyung:fix/local-cli-global-command-hint
Aug 21, 2026
Merged

fix(cli): guide local users to global-only commands#2522
fengmk2 merged 5 commits into
voidzero-dev:mainfrom
jong-kyung:fix/local-cli-global-command-hint

Conversation

@jong-kyung

@jong-kyung jong-kyung commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

The local CLI now shows installation guidance when users run global-only commands such as env, upgrade, or implode. Other unknown commands continue to use the standard “command not found” error.

Closes #2515

@netlify

netlify Bot commented Aug 21, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 268367c
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a88720dc3290e0008bb50d5

@jong-kyung jong-kyung self-assigned this Aug 21, 2026
@jong-kyung

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: ec22a2ecf4

ℹ️ 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".

@jong-kyung
jong-kyung requested a review from fengmk2 August 21, 2026 07:39
@jong-kyung
jong-kyung marked this pull request as ready for review August 21, 2026 07:39
Comment thread packages/cli/binding/src/cli/help.rs
jong-kyung added a commit to jong-kyung/vite-plus that referenced this pull request Aug 21, 2026
The local CLI binding does not consume is_global_only yet; that wiring
belongs to voidzero-dev#2522. Describe the helper without naming a consumer.
@jong-kyung

This comment was marked as outdated.

Lift the inline env/upgrade/implode match into a documented constant that
points at the global CLI command surface it mirrors.
@jong-kyung

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: 9b689e9de8

ℹ️ 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".

@fengmk2
fengmk2 merged commit 916fae1 into voidzero-dev:main Aug 21, 2026
50 checks passed
@jong-kyung
jong-kyung deleted the fix/local-cli-global-command-hint branch August 22, 2026 04:44
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.

vp env current does not work if not installed globally

2 participants