vtiuse-cli

0.2.6 • Public • Published

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 git@github.com:CodeGetters/vtiuse-cli.git

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

vtiuse-cli create test

Package Sidebar

Install

npm i vtiuse-cli

Weekly Downloads

1

Version

0.2.6

License

MIT

Unpacked Size

29.1 kB

Total Files

19

Last publish

Collaborators

  • johnsonxin