dad-jokes-cli
v1.0.2
Published
![Preview](preview.gif)
Downloads
4
Readme
Flyde Example Project - Dad Jokes in your CLI
CLI tool that generates dad jokes, with a slight delay between the joke's setup and punch-line. Built using:
- Flyde ✨
- DadJokes.io for the jokes
- Typescript
Usage
dad-joke [delay]
delay
is optional and specifies the number of milliseconds to wait before printing the punchline. If no delay is provided, the default delay of 2000 ms will be used.
Examples
$ dad-joke
Why was the math book sad?
(2000 ms delay)
Because it had too many problems.
$ dad-joke 5000
Why couldn't the bicycle stand up by itself?
(5000 ms delay)
It was two-tired.
Running locally
yarn
yarn joke [delay]
Prerequisites
Looking to learn more about Flyde? Visit the official website at https://www.flyde.dev