refactor(cli): rename vp new to vp create with shorthand expansion#570
Merged
refactor(cli): rename vp new to vp create with shorthand expansion#570
vp new to vp create with shorthand expansion#570Conversation
Rename the `new` command to `create` to align with `npm create` / `pnpm create` conventions. Add shorthand expansion so `vp create vite` resolves to `create-vite` and `vp create @tanstack/start` resolves to `@tanstack/create-start`. - Rename Rust enum variant `New` → `Create` and module `new.rs` → `create.rs` - Update JS routing to handle `create` command - Add `expandCreateShorthand()` with unit tests - Rename help section "Vite+ Commands" → "Core Commands", reorder entries - Update all docs, snap tests, CI workflows, and install scripts
cf9dd16 to
3011d61
Compare
VP-186 Rename `vp new` to `vp create`, `vp lib` to `vp pack`
As discussed in Discord.
|
cpojer
approved these changes
Feb 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Rename the
newcommand tocreateto align withnpm create/pnpm createconventions. Add shorthand expansion so
vp create viteresolves tocreate-viteand
vp create @tanstack/startresolves to@tanstack/create-start.New→Createand modulenew.rs→create.rscreatecommandexpandCreateShorthand()with unit tests