norris-cli

Kelvin Wangonya - Dec 27 '18 - - Dev Community

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
Enter fullscreen mode Exit fullscreen mode

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.

Enter fullscreen mode Exit fullscreen mode

Get a random joke

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

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.
Enter fullscreen mode Exit fullscreen mode
$ norris-cli -c food
Chuck Norris' favorite cereal is Kellogg's Nails 'N' Gravel.
Enter fullscreen mode Exit fullscreen mode

Enjoy!

approval

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player