CodeGetters / vtiuse-cli

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:TypeScript 67.3%Language:JavaScript 32.7%