0.0.79 • Published 6 years ago
wmp-cli v0.0.79
Wechat MiniProgram CLI
quick start
npx
npx wmp-cli [options]
npx comes with npm 5.2+ and higher, see instructions for older npm versions
npm
npm i -g wmp-cli
wmp [options]
Yarn
yarn global add wmp-cli
wmp [options]
options
[-h] 帮助信息
[-l] 登录微信开发者工具
[-o projectName] 打开项目 projectName
[-p projectName] 上传代码到微信小程序平台或第三方平台
[-env envName] 项目环境 development, production等
[-appid appid] 小程序的appid
[-prefix dirPath] 项目目录前缀
[-suffix dirPath] 项目目录后缀
添加配置文件~无参数run wmp
👇👇👇
或者,创建如下文件wmp.config.json
(多项目时比较方便)
{
"dirPrefix": {
"production": "",
"development": ""
},
"dirPrefix": {
"production": "",
"development": ""
},
"envAppIds": { //配置小程序appId, key可以是wmpType值或者envType值
"production": "wxxxxxxxxxxxxxxxxx",
"development": "wxxxxxxxxxxxxxxxxx",
"game": "wxxxxxxxxxxxxxxxxx",
"news": "wxxxxxxxxxxxxxxxxx"
},
"envTypes": [ // 配置envType
"development",
"production"
],
"wmpTypes": [ //配置小程序类类型(同项目根目录文件夹名称)
"game",
'news'
]
}
issue
0.0.79
6 years ago
0.0.77
7 years ago
0.0.76
7 years ago
0.0.75
7 years ago
0.0.74
7 years ago
0.0.73
7 years ago
0.0.72
7 years ago
0.0.71
7 years ago
0.0.70
7 years ago
0.0.69
7 years ago
0.0.68
7 years ago
0.0.66
7 years ago
0.0.65
7 years ago
0.0.64
7 years ago
0.0.63
7 years ago
0.0.62
7 years ago
0.0.60
7 years ago
0.0.59
7 years ago
0.0.58
7 years ago
0.0.56
7 years ago
0.0.55
7 years ago
0.0.54
7 years ago
0.0.53
7 years ago
0.0.52
7 years ago
0.0.51
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.2
7 years ago
0.0.1
7 years ago