@@ -515,7 +515,7 @@ pub enum Commands {
515515 // =========================================================================
516516 /// Create a new project from a template (delegates to JS)
517517 #[ command( disable_help_flag = true ) ]
518- New {
518+ Create {
519519 #[ arg( trailing_var_arg = true , allow_hyphen_values = true ) ]
520520 args : Vec < String > ,
521521 } ,
@@ -1524,7 +1524,7 @@ pub async fn run_command(cwd: AbsolutePathBuf, args: Args) -> Result<ExitStatus,
15241524 Commands :: Pm ( pm_command) => commands:: pm:: execute_pm_subcommand ( cwd, pm_command) . await ,
15251525
15261526 // Category B: JS Script Commands
1527- Commands :: New { args } => commands:: new :: execute ( cwd, & args) . await ,
1527+ Commands :: Create { args } => commands:: create :: execute ( cwd, & args) . await ,
15281528
15291529 Commands :: Migrate { args } => commands:: migrate:: execute ( cwd, & args) . await ,
15301530
@@ -1590,18 +1590,18 @@ fn apply_custom_help(cmd: clap::Command) -> clap::Command {
15901590 let version = env ! ( "CARGO_PKG_VERSION" ) ;
15911591
15921592 let after_help = format ! (
1593- "{bold_underline}Vite+ Commands:{reset}
1593+ "{bold_underline}Core Commands:{reset}
1594+ {bold}create{reset} Create a new project from a template
15941595 {bold}dev{reset} Run the development server
15951596 {bold}build{reset} Build for production
1596- {bold}lint{reset} Lint code
15971597 {bold}test{reset} Run tests
1598+ {bold}lint{reset} Lint code
15981599 {bold}fmt{reset} Format code
1599- {bold}lib{reset} Build library
1600- {bold}migrate{reset} Migrate an existing project to Vite+
1601- {bold}cache{reset} Manage the task cache
1602- {bold}new{reset} Generate a new project
16031600 {bold}run{reset} Run tasks
1601+ {bold}preview{reset} Preview production build
16041602 {bold}env{reset} Manage Node.js versions
1603+ {bold}migrate{reset} Migrate an existing project to Vite+
1604+ {bold}cache{reset} Manage the task cache
16051605
16061606{bold_underline}Package Manager Commands:{reset}
16071607 {bold}install, i{reset} Install all dependencies, or add packages if package names are provided
0 commit comments