joke-cli-app
v1.0.1
Published
Welcome to the Dad Joke CLI App! This command-line tool fetches and displays random dad jokes, lets you view your joke history, and clear the history.
Downloads
1
Readme
Dad Joke CLI App
Welcome to the Dad Joke CLI App! This command-line tool fetches and displays random dad jokes, lets you view your joke history, and clear the history.
Installation
Clone this repository to your local machine.
Navigate to the repository directory in your terminal.
Install the required dependencies using npm:
npm install
Or
Install joke cli app using npm. Make sure you have Node.js and npm installed on your system.
npm install joke-cli-app
Usage
To start the Dad Joke CLI App, run the following command in your terminal:
```bash
node index.js
```
You'll be presented with a menu of options to choose from:
- Get a Joke
- View Joke History
- Clear Joke History
- Quit
Choose an option by entering the corresponding number and pressing Enter.
Joke History
You can view the history of fetched jokes by selecting option 2 from the menu. The history will display the setup and punchline of each joke.
To clear the joke history, select option 3 from the menu.
Contributing
If you'd like to contribute to the Dad Joke CLI App, feel free to fork this repository, make your changes, and submit a pull request. Your contributions are greatly appreciated!