Wondering what’s next for npm?Check out our public roadmap! »

    curtos-cli
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.0 • Public • Published

    curtos-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

    • help: display help for curtos
    • short: get a short link from curtos.pt for the given target

    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

    Install

    npm i curtos-cli

    DownloadsWeekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    8.22 kB

    Total Files

    11

    Homepage

    curtos.pt

    Last publish

    Collaborators

    • avatar