English|简体中文
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.
npm i vtiuse-cli -g
# 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>
As an example, pull down the src directory in the cli repository
npm i vtiuse-cli -g
# modify the pull repo
vtiuse-cli repo git@github.com:CodeGetters/vtiuse-cli.git
# modify repo dir
vtiuse-cli dir src/index.ts
vtiuse-cli create test