Skip to content

CodeGetters/vtiuse-cli

Repository files navigation

English|简体中文

npm version npm downloads License

vtiuse-cli

A cli that can pull different vue3 project templates from a remote project template repository. It is mainly used for pulling fixed project templates (it can also be used for pulling subfolder under the warehouse). That is, when you have a project template that you want to pull under a monorepo repository, you can use this.

Install

npm i vtiuse-cli -g

Usage

# pull templates from the default repository
vtiuse-cli create <projectName>

# Change the default repository address
vtiuse-cli repo <newRepo>

# Change the default target directory
vtiuse-cli dir <newDir>

Example

As an example, pull down the src directory in the cli repository

npm i vtiuse-cli -g

# modify the pull repo
vtiuse-cli repo [email protected]:CodeGetters/vtiuse-cli.git

# modify repo dir
vtiuse-cli dir src/index.ts

vtiuse-cli create test

About

A cli that can pull different vue3 project templates from a remote project template repository

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published