Skip to content

curtos-pt/cli

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
src
 
 
 
 
 
 
 
 
 
 

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.1 darwin-x64 node-v16.3.0
$ curtos --help [COMMAND]
USAGE
  $ curtos COMMAND
...

Commands

curtos create

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

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

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

display help for <%= config.bin %>

USAGE
  $ curtos help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help