wsx-h5-cli
v1.0.0
Published
wsx-h5-cli
Downloads
1
Readme
wsx-h5-cli
vue2.0 自定义 cli
操作命令
- 常用命令
# 安装
npm i wsx-h5-cli -g
# 创建初始化项目
wsx init 模板名 项目名
# 添加模板
wsx add
# 删除模板
wsx delete
# 查看模板list
wsx list
注意
#
开头的#! /usr/bin/env node 作用是当 系统看到这行时,能够沿着该路径查找node并执行,主要是为了兼容mac电脑,确保执行