vtiuse-cli
v0.2.6
Published
Pull the cli of different vue3 project templates depending on the selection
Downloads
13
Maintainers
Readme
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.
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