@cinwell/upload

```sh Usage: upload [options] [command]

Usage no npm install needed!

<script type="module">
  import cinwellUpload from 'https://cdn.skypack.dev/@cinwell/upload';
</script>

README

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