0.1.1 • Published 10 years ago
cown v0.1.1
cown
Qiniu bucket manager && upload tool
Screenshot

Install
$ npm install -g cownQuick start
You need to configure a Qiniu account first:
$ cown add -aConfigure a new bucket:
$ cown addUpload file:
$ cown upload path/to/my.png # use -p to auto copy source linkList all buckets:
$ cown lsUse another bucket:
$ cown use <bucket name>Remove a bucket:
$ cown rm <bucket name>Usage
Mode
There are two modes in cown, one is bucket mode, the other is account mode. Using -a option to run in account mode.
cown is running on bucket mode by default. Because we always operate bucket instead of account.
For example, when we run $ cown add, you will add a new bucket. But if you run it with a -a option ($ cown add -a), you will be going to add a new account instead.
All action can be run in account mode except upload action.
Commands
Commands:
add [options] Add new bucket.
ls [options] List all buckets.
use [options] <name> Checkout bucket.
rm [options] <name> Remove bucket.
upload [options] <source> Upload file
"-a" option for account mode.
Options:
-h, --help output usage information
-V, --version output the version numberLicense
MIT License