开发者可不打开字节小程序开发者工具,独立使用byte-miniprogram-ci
进行小程序代码的上传
$ npm install byte-miniprogram-ci --save
const ci = require('../index');
(async () => {
await ci.upload({
username: '',
password: '',
projectPath: '',
desc: '测试备注',
})
})()
属性 | 说明 | 类型 | 必填 |
---|---|---|---|
username | 账号 | string | 是 |
password | 密码 | string | 是 |
projectPath | 项目地址 | string | 是 |
desc | 备注 | string | 是 |