1.0.0 • Published 7 years ago

qiniu.cli v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

qiniu.cli

  • Install
$ [sudo] npm i qiniu.cli -g
  • usage
Usage: qiniu [options]

  Options:

    -h, --help             output usage information
    -V, --version          output the version number
    -c, --config [config]  config file
    -v, --verbose          verbose
  • config.js
module.exports = {
  accessKey: 'your access key',
  secretKey: 'your secret key',
  tasks: [{
    directory: 'your local directory',
    prefix: 'file name prefix',
    bucket: 'your bucket',
    rename: originName => originName
  }]
}