Skip to content

fix(cli): show create and migrate in local cli top-level help#1508

Merged
fengmk2 merged 3 commits intovoidzero-dev:mainfrom
nurazon59:fix/cli/print-help-create-migrate
May 7, 2026
Merged

fix(cli): show create and migrate in local cli top-level help#1508
fengmk2 merged 3 commits intovoidzero-dev:mainfrom
nurazon59:fix/cli/print-help-create-migrate

Conversation

@nurazon59
Copy link
Copy Markdown
Contributor

Why

vp -h was missing create and migrate.

What

Added both commands to the top-level help output and updated the affected CLI snapshots.

Checks

Local snap-test harness could not run because tool is not installed in this environment. cargo test -p vite_global_cli --bin vp also stopped early because the workspace references a missing rolldown_binding manifest in this checkout.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 2, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit de2a6a6
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/69fbe808d9284600081e1442

@nurazon59 nurazon59 marked this pull request as ready for review May 2, 2026 13:12
@nurazon59 nurazon59 changed the title [codex] show create and migrate in top-level help fix(cli): show create and migrate in top-level help May 2, 2026
Copy link
Copy Markdown
Member

@fengmk2 fengmk2 left a comment

Choose a reason for hiding this comment

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

@nurazon59 Thanks!

@nurazon59
Copy link
Copy Markdown
Contributor Author

@fengmk2 Thank you for the review. I found a bug in the tool and am fixing it in #1524. Could you review that PR? Once it’s merged, please review this again.

fengmk2 added a commit that referenced this pull request May 7, 2026
…ng plus (#1524)

Discovered while reviewing CI results after approving #1508.

The regex `/\++\n/g` was overly aggressive and matched any line ending
with a single `+`, including legitimate text like "Vite+" in the CLI
help output.

Changed to `/\+{2,}\n/g` to only match pnpm's actual repeated `+`
progress indicators (e.g., `+++`).

---------

Co-authored-by: nurazon59 <nurazon59@users.noreply.github.com>
Co-authored-by: MK <fengmk2@gmail.com>
@fengmk2 fengmk2 changed the title fix(cli): show create and migrate in top-level help fix(cli): show create and migrate in local cli top-level help May 7, 2026
@fengmk2 fengmk2 merged commit 63ca4b4 into voidzero-dev:main May 7, 2026
59 of 61 checks passed
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.

2 participants