https://github.com/chris-gillatt/homebrew-joke
Prints a random joke on the command-line from the icanhazdadjoke.com API
https://github.com/chris-gillatt/homebrew-joke
Last synced: 3 months ago
JSON representation
Prints a random joke on the command-line from the icanhazdadjoke.com API
- Host: GitHub
- URL: https://github.com/chris-gillatt/homebrew-joke
- Owner: chris-gillatt
- License: mit
- Created: 2024-05-15T08:33:13.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-11T08:10:31.000Z (11 months ago)
- Last Synced: 2024-07-11T09:36:44.992Z (11 months ago)
- Language: Shell
- Size: 365 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
# [](https://github.com/chris-gillatt/homebrew-joke/actions/workflows/ci.yml) Joke
Prints a random joke on the command-line from the icanhazdadjoke.com API. Supports some optional formatting. Combinations of formats are supported.Created for the purposes of demonstrating how to distribute tools with Brew & GitHub Actions, a two part piece which can be read [on my personal blog](https://howinteresting.co.uk) here:
- [Distributing Tools with Brew & Github Actions Part I](https://howinteresting.co.uk/blog/2024-05-15-distributing-tools-with-brew-and-github-actions-part-i/)
- [Distributing Tools with Brew & Github Actions Part II](https://howinteresting.co.uk/blog/2024-05-15-distributing-tools-with-brew-and-github-actions-part-ii)
# Usage
```
Usage: joke [OPTIONS]Print a random joke on the command-line from the icanhazdadjoke.com API
Options:
-h Show help message
-c Print a joke in multi-colour
-l Print a joke in large font
-s Print a joke inside a speech bubble with a random character
```# Install / Uninstall
Install/uninstall/upgrade joke using brew:`brew tap chris-gillatt/joke`
`brew install joke`
`brew remove joke`