git-joke-cli

Get git joke in command line


License
MIT
Install
pip install git-joke-cli==1.1.2

Documentation

git-joke

https://travis-ci.org/vitakrya/git-joke-cli.svg?branch=master

Usage

You can use this as an api to fetch joke by using

from gitjoke.extractor import get_joke, get_jokes

# Get all jokes in list
jokes = get_jokes()

# Get random joke
joke = get_joke()

Example from the internal help command:

$ git-joke -h
Display random git joke or all git jokes
Usage:
    git-joke [--all]

Options:
    -h --help  Show this help message
    -v --version  Show version
    -a --all  Show all jokes

License

MIT