pushoss

1.0.5 • Public • Published

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: ''
    }
};

Readme

Keywords

Package Sidebar

Install

npm i pushoss

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

3.62 kB

Total Files

4

Last publish

Collaborators

  • dolorousmao