@bougiel/cos
v0.0.8
Published
cos ===
Downloads
3
Readme
cos
Usage
$ npm install -g @bougiel/cos
$ cos COMMAND
running command...
$ cos (-v|--version|version)
@bougiel/cos/0.0.8 darwin-x64 node-v10.16.0
$ cos --help [COMMAND]
USAGE
$ cos COMMAND
...
Commands
cos autocomplete [SHELL]
cos bucket [ACTION] [ACTIONVALUE]
cos config [CONFIGKEY] [CONFIGVALUE]
cos help [COMMAND]
cos object [ACTION] [ACTIONVALUE]
cos update [CHANNEL]
cos autocomplete [SHELL]
display autocomplete installation instructions
USAGE
$ cos autocomplete [SHELL]
ARGUMENTS
SHELL shell type
OPTIONS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
EXAMPLES
$ cos autocomplete
$ cos autocomplete bash
$ cos autocomplete zsh
$ cos autocomplete --refresh-cache
See code: @oclif/plugin-autocomplete
cos bucket [ACTION] [ACTIONVALUE]
bucket actions
USAGE
$ cos bucket [ACTION] [ACTIONVALUE]
ARGUMENTS
ACTION [default: list] oneof create, delete
ACTIONVALUE action value
OPTIONS
-h, --help show CLI help
-l, --list
-r, --region=region set bucket region
EXAMPLE
$ cos bucket --list ap-chengdu
See code: src/commands/bucket.ts
cos config [CONFIGKEY] [CONFIGVALUE]
Configure cos
USAGE
$ cos config [CONFIGKEY] [CONFIGVALUE]
ARGUMENTS
CONFIGKEY config key, one of SecretId, SecretKey, AppId, Bucket, Region
CONFIGVALUE config value
OPTIONS
-h, --help show CLI help
-l, --list list config
EXAMPLE
$ cos config SecretKey 12345
$ cos config --list
See code: src/commands/config.ts
cos help [COMMAND]
display help for cos
USAGE
$ cos help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
cos object [ACTION] [ACTIONVALUE]
object actions
USAGE
$ cos object [ACTION] [ACTIONVALUE]
ARGUMENTS
ACTION action name, oneof upload
ACTIONVALUE action value
OPTIONS
-h, --help show CLI help
-l, --list
EXAMPLE
$ cos object
See code: src/commands/object.ts
cos update [CHANNEL]
update the cos CLI
USAGE
$ cos update [CHANNEL]
See code: @oclif/plugin-update