Skip to content

fix(global-cli): correct stale delegation comments and run/exec help hint#2236

Open
shulaoda wants to merge 1 commit into
mainfrom
07-25-fix_global-cli_correct_stale_delegation_comments_and_run_exec_help_hint
Open

fix(global-cli): correct stale delegation comments and run/exec help hint#2236
shulaoda wants to merge 1 commit into
mainfrom
07-25-fix_global-cli_correct_stale_delegation_comments_and_run_exec_help_hint

Conversation

@shulaoda

Copy link
Copy Markdown
Member

Two outdated bits in the global CLI, no behaviour change beyond the help string:

1. Stale "stubs" comments (cli.rs)

The Category C (local-CLI delegation) commands were commented as (stubs for now) / (stubs), but every arm fully forwards to the local vite-plus CLI via commands::delegate::execute — they are real, working delegations, not placeholders. Both comments now read (forwarded to the local vite-plus CLI).

2. Misleading run/exec help hint (help.rs)

The run and exec delegated help docs ended their options with:

-h, --help    Print help (see more with '--help')

But Run/Exec are declared #[command(disable_help_flag = true)], and their help is printed by a single static doc — -h and --help produce identical output, so the "(see more with '--help')" hint is inaccurate copied clap boilerplate. The other nine delegated docs already use plain Print help; run/exec now match.

@netlify

netlify Bot commented Jul 24, 2026

Copy link
Copy Markdown

👷 Deploy Preview for viteplus-preview processing.

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

@netlify

netlify Bot commented Jul 24, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview canceled.

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

1 similar comment
@netlify

netlify Bot commented Jul 24, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview canceled.

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

@github-actions

Copy link
Copy Markdown
Contributor

Native binary sizes (cb73ed1)

Final release artifacts built by the canonical build-upstream and build-windows-cli actions.

Artifact Format Base PR Change
vp (Linux x64) Binary 10.31 MiB 10.31 MiB 0 B (0.00%)
vp (Linux x64) gzip -9 4.42 MiB 4.42 MiB +2 B (+0.00%)
NAPI (Linux x64) Binary 33.07 MiB 33.07 MiB 0 B (0.00%)
NAPI (Linux x64) gzip -9 12.72 MiB 12.72 MiB -1 B (-0.00%)
vp (macOS ARM64) Binary 7.64 MiB 7.64 MiB 0 B (0.00%)
vp (macOS ARM64) gzip -9 3.84 MiB 3.84 MiB -39 B (-0.00%)
NAPI (macOS ARM64) Binary 40.50 MiB 40.50 MiB 0 B (0.00%)
NAPI (macOS ARM64) gzip -9 16.97 MiB 16.97 MiB -85 B (-0.00%)
vp (Windows x64) Binary 8.35 MiB 8.35 MiB 0 B (0.00%)
vp (Windows x64) gzip -9 3.64 MiB 3.64 MiB +1 B (+0.00%)
NAPI (Windows x64) Binary 27.51 MiB 27.51 MiB 0 B (0.00%)
NAPI (Windows x64) gzip -9 10.70 MiB 10.70 MiB +4 B (+0.00%)
Trampoline (Windows x64) Binary 203.00 KiB 203.00 KiB 0 B (0.00%)
Trampoline (Windows x64) gzip -9 97.91 KiB 97.91 KiB 0 B (0.00%)
Installer (Windows x64) Binary 4.44 MiB 4.44 MiB 0 B (0.00%)
Installer (Windows x64) gzip -9 2.08 MiB 2.08 MiB 0 B (0.00%)

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