Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shazron/giphy-cli
A cli for Giphy using oclif
https://github.com/shazron/giphy-cli
oclif
Last synced: about 2 months ago
JSON representation
A cli for Giphy using oclif
- Host: GitHub
- URL: https://github.com/shazron/giphy-cli
- Owner: shazron
- License: apache-2.0
- Created: 2019-04-10T23:51:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T22:16:14.000Z (almost 2 years ago)
- Last Synced: 2024-10-17T02:55:20.618Z (2 months ago)
- Topics: oclif
- Language: JavaScript
- Size: 95.7 KB
- Stars: 1
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
giphy
=====cli for the Giphy web service
[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/node-giphy.svg)](https://npmjs.org/package/node-giphy)
[![Downloads/week](https://img.shields.io/npm/dw/node-giphy.svg)](https://npmjs.org/package/node-giphy)
[![License](https://img.shields.io/npm/l/node-giphy.svg)](https://github.com/shazron/giphy-cli/blob/master/package.json)![Sample command for giphy-cli](./giphy.png)
* [Usage](#usage)
* [Commands](#commands)# Usage
```sh-session
$ 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]`](#giphy-help-command)
* [`giphy random [TAG]`](#giphy-random-tag)## `giphy help [COMMAND]`
display help for giphy
```
USAGE
$ giphy help [COMMAND]ARGUMENTS
COMMAND command to show help forOPTIONS
--all see all commands in CLI
```_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.1.6/src/commands/help.ts)_
## `giphy random [TAG]`
Grabs a random gif from giphy
```
USAGE
$ giphy random [TAG]ARGUMENTS
TAG filters results by the specified tagOPTIONS
-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](https://github.com/shazron/giphy-cli/blob/v0.0.2/src/commands/random.js)_