cli

cli for curtos.pt

View the Project on GitHub curtos-pt/cli

A cli for curtos.pt

oclif Version Downloads/week License

Usage

curtos [COMMAND]

$ npm install -g curtos-cli
$ curtos COMMAND
running command...
$ curtos (-v|--version|version)
curtos-cli/1.0.0 darwin-x64 node-v10.20.1
$ curtos --help [COMMAND]
USAGE
  $ curtos COMMAND
...

Commands

curtos create

get a short link from curtos.pt for the given target

USAGE
  $ curtos create

OPTIONS
  -e, --expiresAfter=expiresAfter  time to expire in days
  -t, --target=target              target url

See code: src/commands/create.ts

curtos delete

delete short link with a given code

USAGE
  $ curtos delete

OPTIONS
  -c, --code=code  link's code

See code: src/commands/delete.ts

curtos help [COMMAND]

display help for curtos

USAGE
  $ curtos help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help