1.1.0 • Published 5 years ago

@cinwell/upload v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

upload

Usage: upload [options] [command]

Commands:

  help  Display help

Options:

  -c, --config        update config, please set `Bucket`, `SecretId` and `SecretKey`
  -d, --del [file]    delete file
  -h, --help          Output usage information
  -l, --list          list file
  -m, --maxage <n>    cache control (defaults to 31536000)
  -n, --name [value]  file name (defaults to "[hash]")
  -p, --preview       preview file
  -v, --version       Output the version number

Examples:

  - Upload file

  $ upload /path/to/file.ext


  - Delete file

  $ upload -d file.ext


  - Upload config

  $ upload -c Bucket cinwell


  - List all file

  $ upload -l

License

MIT