1 unstable release
Uses old Rust 2015
0.1.0 | Dec 30, 2024 |
---|
#5 in #joke
123 downloads per month
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