vsbuild
v0.2.8
Published
vs open system project create cli
Downloads
13
Readme
vsbuild
用于快速构建项目
直接使用或全局安装 vsbuild
通过 npx 直接使用(推荐)
注意:电脑需要安装 node.js(v5.2 及以上 查看版本:node -v)
npx vsbuild -v
npx vsbuild -h
npx vsbuild create
npx vsbuild init
......
全局安装后使用
npm install vsbuild -g
vsbuild -v
vsbuild -h
vsbuild create
vsbuild init
......
开始构建项目:
1. 没有项目目录: 使用 create 构建
1. 使用 create 命令
在合适的目录中执行
vsbuild create
2. 选择需要的模版
选择你需要的模版?
选择你需要的模版?
vue
go-api
go-script
java-api
java-script
java-listener
3. 填写相应的信息
填写项目基本信息
project name: 填写项目的名称,填写的名称将作为该项目文件夹的名称, !必填
author: 创建者
email: 创建者的邮箱
git repository: 该新建项目的git仓库地址
如果“git repository”中填写了 git 仓库地址,项目构建完成后会与此仓库关联
2. 已有项目目录:使用 init 初始化
1. 使用 init 命令
进入项目目录
cd project
vsbuild init
2. 选择需要的模版
选择你需要的模版?
选择你需要的模版?
vue
go-api
go-script
java-api
java-script
java-listener
3. 填写相应的信息
填写项目基本信息
author: 创建者
email: 创建者的邮箱
命令说明
新建项目
vsbuild create
指定项目模版新建项目(不会弹出模版选项)
vsbuild create [模版名称] [项目名称 || '']
初始化项目
cd [项目目录]
vsbuild init
指定项目模版初始化项目
cd [项目目录]
vsbuild init [模版名称]
版本号
vsbuild -v
帮助
vsbuild -h