1.0.2 • Published 1 year ago

dad-jokes-cli v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Flyde Example Project - Dad Jokes in your CLI

Preview

CLI tool that generates dad jokes, with a slight delay between the joke's setup and punch-line. Built using:

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

  1. yarn
  2. yarn joke [delay]

Prerequisites

  1. VS Code
  2. Flyde VS Code Extension
  3. Yarn

Looking to learn more about Flyde? Visit the official website at https://www.flyde.dev