Skip to content

Latest commit

 

History

History
71 lines (55 loc) · 1.65 KB

README.md

File metadata and controls

71 lines (55 loc) · 1.65 KB

giphy

cli for the Giphy web service

oclif Version Downloads/week License

Sample command for giphy-cli

Usage

$ npm install -g node-giphy
$ giphy COMMAND
running command...
$ giphy (-v|--version|version)
node-giphy/0.0.2 darwin-x64 node-v8.15.1
$ giphy --help [COMMAND]
USAGE
  $ giphy COMMAND
...

Commands

giphy help [COMMAND]

display help for giphy

USAGE
  $ giphy help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

giphy random [TAG]

Grabs a random gif from giphy

USAGE
  $ giphy random [TAG]

ARGUMENTS
  TAG  filters results by the specified tag

OPTIONS
  -k, --api-key=api-key        the Giphy API key
  -l, --link-only              show link only
  -r, --rating=y|g|pg|pg-13|r  [default: g] filters results by specified rating

See code: src/commands/random.js