Do you love puns? Are you constantly on the lookout for new and hilarious wordplay? Look no further than Pun-CLI, the command-line interface for generating random puns!
Pun CLI is a Python-based tool that connects to a repository of puns and generates a random one based on optional keyword input. It also supports customization with a variety of characters to display the pun.
Installation
Pun-CLI can be installed using pip, the Python package installer:
pip install pun-cli
Usage
Once installed, simply run the pun command in your terminal to generate a random pun:
$ pun-cli
_________________________________________________ / \ | Why was the math book sad? Because it had too man | | y problems. | \ / ================================================= \ \ \ |\_/|,,_____,~~` (.".)~~ )`~}} \o/\ /---~\\ ~}} _// _// ~}
You can also specify a keyword to search for puns related to a particular topic:
$ pun-cli --keyword "food"
And if you want to display the pun with a specific character, you can use the --character
flag:
$ pun-cli --character "cow"
Contributing
Want to contribute your own puns to the repository? Great! Simply fork the Pun CLI GitHub repository and add your pun to the pun_repository.txt
file. Then submit a pull request and your pun will be added to the repository for all to enjoy!
Conclusion
Pun CLI is a fun and simple tool for generating random puns and bringing a little humor into your day. Install it today and start unleashing hilarious wordplay with a single command!
Top comments (0)