Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 864 Bytes

File metadata and controls

36 lines (27 loc) · 864 Bytes

CLI for the Official Joke API

Installation

Build from source

cargo install --git https://github.com/cool-mist/joke-cli

Usage

  • Run joke to get a random joke.
    • The first run downloads all the jokes from the Official Joke Api.
    • Periodically run joke --update to update the list of jokes.
  • Run joke --help for other options.
  • Mix with cowsay and add to your shell profile for extra fun.
  • joke -c programming | cowsay -f tux
 __________________________________
/ Knock-knock.                     \
|                                  |
\ A race condition. Who is there?  /
 ----------------------------------
   \
    \
        .--.
       |o_o |
       |:_/ |
      //   \ \
     (|     | )
    /'\_   _/`\
    \___)=(___/