dev-jokes-cli
v1.0.3
Published
A CLI that gives developers funny dad jokes in the console π
Downloads
4
Maintainers
Readme
π Dad Jokes CLI
A simple and fun command-line tool that delivers random dad jokes straight to your terminal --- because debugging is easier when you're laughing! π€£
π Features
Get a random dad joke instantly
Show multiple jokes with
--countDisplay help or version info
Lightweight, fast, and works offline
π¦ Installation
Install globally using npm:
Bash
npm install -g dev-jokes
Replace dev-jokes with your actual npm package name if different.
π§ Usage & Examples
Here are the available commands:
Show a random joke:
Bash
dev-jokesShow 5 random jokes:
Bash
dev-jokes --count 5Get help information:
Bash
dev-jokes --helpShow current version:
Bash
dev-jokes --version
π» Example Output
A single joke:
Why did the scarecrow win an award? Because he was outstanding in his field! πΎ
Multiple jokes (--count 3):
1οΈβ£ I told my wife she should embrace her mistakes... She gave me a hug.
2οΈβ£ Why don't skeletons fight each other? They don't have the guts.
3οΈβ£ I would tell you a construction joke, but I'm still working on it.
π§° Local Development
To test or contribute locally:
Clone the repository
Bash
git clone https://github.com/bharatxox/dev-jokes.git
Navigate into the folder
Bash
cd dev-jokes
Install dependencies
Bash
npm install
Run locally
Bash
node index.js
ποΈ Project Structure
Plaintext
π¦ dev-jokes
β£ π bin
β β π dev-jokes.js
β£ π index.js
β£ π package.json
β π README.mdEnjoy the laughs and keep coding happily! π
