#joke #delay #cli #category #joker #dark #handles

app jokecli

A program that handles and types for you the joker API and its joke (Terminal app)

1 unstable release

Uses old Rust 2015

0.1.0 Dec 30, 2024

#5 in #joke

Download history 111/week @ 2024-12-28 12/week @ 2025-01-04

123 downloads per month

MIT license

13KB

Jokecli

A CLI program that uses the JokeAPI to give you the joke that you need

Installation

  • Install my-project with cargo
  cargo install jokecli
  • Compile it yourself
git clone https://github.com/quotequack/jokecli
cd jokecli
cargo build  --release

Binary or exe will be under joke_cli/target/releases

Usage

USAGE:
    jokecli <DELAY> <CATEGORY>

ARGS:
    <DELAY>       Enter a delay between command and print joke
    <CATEGORY>    Select a category: 1. Misc 2. Programming 3. Dark 4. Pun

OPTIONS:
    -h, --help       Print help information
    -V, --version    Print version information

Delay

The delay between you sending the command and the program typing it for you in any text box you have selected (useful for clicking on the text box in time)

Category

Select between Programming Dark Pun and Misc (use the category name not the number)

Examples

For a dark joke with a reasonable delay

jokecli 5 dark

For a pun with short delay

jokecli 2 pun

Dependencies

~8–40MB
~607K SLoC