Skip to content

cool-mist/joke-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 |
       |:_/ |
      //   \ \
     (|     | )
    /'\_   _/`\
    \___)=(___/

Releases

No releases published

Packages

No packages published

Languages