1.1.1 • Published 6 years ago

sy-qshell v1.1.1

Weekly downloads
2
License
ISC
Repository
-
Last release
6 years ago

sy-qshell

NPM

包裹好的npm包,抹平qshell在各平台的兼容调用问题,默认包含mac/win/linux

默认会先鉴权,再调用command命令。 qshell返回exit code的时候会process.exit(1)`

建议配合inquirer使用

也可直接npm install sy-qshell

七牛可调用方法参看qshell文档

当前七牛版本为qshell v2.1.8

// 使用方法

1. npm install sy-qshell

2. forCDN.js
const qshell = require('sy-qshell')
let ak = '七牛的access-key'
let sk = '七牛的secret-key'
let command = 'cdnrefresh' // 七牛命令qshell
let option = 'torefresh.txt' // 对应命令的参数

qshell.exec({
    ak: ak,
    sk: sk,
    command: command,
    option: option
})
3. node forCDN
1.1.1

6 years ago

1.1.0

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago