@dvn/sepet-cli
v0.0.1
Published
@dvn/sepet-cli ==============
Downloads
2
Readme
@dvn/sepet-cli
CLI for uploading files to Sepet API.
Installation
$ npm install -g @dvn/sepet-cli
Usage
Bucket name is required -b, --bucket
.
$ npm install -g @dvn/sepet-cli
$ sepet COMMAND
running command...
$ sepet (-v|--version|version)
@dvn/sepet-cli/0.0.1 darwin-x64 node-v12.0.0
$ sepet --help [COMMAND]
USAGE
$ sepet COMMAND
...
Commands
sepet help [COMMAND]
display help for sepet
USAGE
$ sepet help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
sepet upload [PATH]
Uploads files to Sepet.
USAGE
$ sepet upload [PATH]
OPTIONS
-b, --bucket=bucket bucket name that is used as subdomain.
-e, --endpoint=endpoint sepet API endpoint to upload the file.
-h, --help show CLI help
-p, --port=port sepet API port.
-v, --version=version bucket version to upload to.
EXAMPLES
$ sepet upload -b bucket-name-here .
$ sepet upload -b bucket-name-here ./tsconfig.json
$ sepet upload -b bucket-name-here ./src/commands
See code: src/commands/upload.ts
sepet upload [PATH]
Uploads files to Sepet.
USAGE $ sepet upload [PATH]
OPTIONS -b, --bucket=bucket Bucket name that is used as subdomain. -e, --endpoint=endpoint Sepet API endpoint to upload the file. -h, --help show CLI help -p, --port=port Sepet API port. -v, --version=version Bucket version to upload to.
EXAMPLES $ sepet upload -b bucket-name-here . $ sepet upload -b bucket-name-here ./tsconfig.json $ sepet upload -b bucket-name-here ./src/commands
sepet help [COMMAND]
Display help for any command.
USAGE
$ sepet help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
Development
This CLI is created via https://oclif.io/docs/introduction.
Commands can be run as shown below during development.
- Help:
./bin/run --help
- Version:
./bin/run --version
- Upload file:
./bin/run upload
Publishing a new version
npm version (major|minor|patch)
# bumps version, updates README, adds git tagnpm publish --access=public