amans-joke-tool
v1.0.2
Published
"A simple command line tool to get dad jokes xD"
Readme
Welcome to Dad Jokes CLI Tool!
Hello, this is a simple CLI tool to tell you dad jokes, have fun using it!
Tech Used
- Node Js
Installation
Install amans-joke-tool with npm
cd my-project
npm i amans-joke-toolRun Locally
Clone the project
git clone https://github.com/Aman-Gupta-404/jokes_cli_toolGo to the project directory
cd my-projectInstall dependencies
npm installInstall the CLI Command line tool locally
npm install -gUsage/Examples
Get a random joke using the command
amans-joke-toolGet a joke containing a specific keyword by passing the keyword as a paramater [Please note that the keyword should be of one word only]
amans-joke-tool --keyword
//example
amans-joke-tool --buildingCheck the leaderboard for the jokes that appeared the most using the command below
amans-joke-tool --leaderboardNote: while using the tool, 2 new files are created who's names and purpose is given below
- All_jokes.txt - Stores all the jokes generated
- popularJokes.txt - Stores the leaderboard scores for all the jokes
