pushoss
v1.0.5
Published
push files to aliyun oss
Downloads
17
Readme
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:
module.exports = {
host: '',
ossConf: {
accessKeyId: '',
accessKeySecret: '',
bucket: '',
region: '',
endpoint: ''
}
};