git-joke

https://travis-ci.org/vitakrya/git-joke-cli.svg?branch=master https://readthedocs.org/projects/git-joke-cli/badge/?version=latest

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