Kinyanjui Wangonya

“Be curious. Read widely. Try new things. I think a lot of what people call intelligence boils down to curiosity.” - Aaron Swartz

github twitter linkedin medium email
norris-cli
Dec 27, 2018
One minute read

Best feeling I’ve had this year: seeing something I did listed on PyPi 😊 🎉

It’s a really simple cli app that get’s a random joke from chucknorris.io every time you run it. I made it with Click

Install it

pip3 install norris-cli

Make sure you install the pip3 version.

How to use

$ norris-cli --help
Usage: norris-cli [OPTIONS]

  If I had a nickel for every Chuck Norris joke out there...

Options:
  -c, --category [dev|movie|food|celebrity|science|sport|political|religion|animal|history|music|travel|career|money|fashion]
  --help                          Show this message and exit.

Get a random joke

$ norris-cli
Chuck Norris doesn't call the wrong number. You answer the wrong phone.

Specify a category

You can see all available categories by running norris-cli --help

$ norris-cli -c dev
Chuck Norris can't test for equality because he has no equal.
$ norris-cli -c food
Chuck Norris' favorite cereal is Kellogg's Nails 'N' Gravel.

Enjoy!

approval


Tags: python



Back to posts