jokecli

Crates.iojokecli
lib.rsjokecli
version0.1.0
created_at2024-12-30 11:55:59.996034+00
updated_at2024-12-30 11:55:59.996034+00
descriptionA program that handles and types for you the joker API and its joke (Terminal app)
homepage
repository
max_upload_size
id1499101
size45,207
QuoteQuack (quotequack)

documentation

README

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
Commit count: 0

cargo fmt