pushoss
push local dir to aliyun oss
Installation
Using npm:
$ npm install pushoss -g
Usage
$ pushoss
Usage: pushoss [options]
Options:
-d, --dest [string] upload dest dir
-s, --source [string] source dir, default value is `dist`
-c, --config [string] config file dir, default value is `config.js`
Examples:
pushoss -d targetDir
pushoss -d targetDir -s dist -c config.js
The content of config.js is:
moduleexports = host: '' ossConf: accessKeyId: '' accessKeySecret: '' bucket: '' region: '' endpoint: '' ;