@znetstar/attic-cli-url-shortener
v3.2.0
Published
URL Shortening plugin for attic-cli
Downloads
24
Readme
attic-cli-url-shortner
URL Shortening plugin for attic-cli
Usage
$ npm install -g @znetstar/attic-cli-url-shortener
$ oclif-example COMMAND
running command...
$ oclif-example (-v|--version|version)
@znetstar/attic-cli-url-shortener/3.2.0 darwin-x64 node-v14.18.0
$ oclif-example --help [COMMAND]
USAGE
$ oclif-example COMMAND
...
Commands
oclif-example shortUrl
shortens an existing URI, returning the new short url
USAGE
$ oclif-example shortUrl
OPTIONS
-G, --dontGenerate
-d, --driver=driver (required) [default: HTTPRedirectDriver]
-h, --help show CLI help
-n, --length=length
-r, --href=href (required)
-s, --source=source (required)
-u, --auth=auth
-v, --verbose
-x, --expiresIn=expiresIn
--format=(text|json) [default: text]
--quiet
See code: src/commands/shortUrl.ts