4 releases

0.1.3 Feb 13, 2025
0.1.2 Feb 12, 2025
0.1.1 Feb 12, 2025
0.1.0 Feb 12, 2025

#176 in Cargo plugins

Download history 230/week @ 2025-02-07 126/week @ 2025-02-14 5/week @ 2025-02-28

105 downloads per month

MIT/Apache

43KB
153 lines

cargo-clicker

crates.io Rust CI

haven't you ever wanted some positive reinforcement when you finally get those tests to pass?

installation

you can cargo install cargo-clicker.

usage

add "clicker" immediately after cargo and program with extra reinforcement

$ cargo clicker test

configuration

  • CARGO_CLICKER_ACTUAL - binary to run next instead of cargo
  • CARGO_CLICKER_SILENCE - never play sound when this variable is set
  • CARGO_CLICKER_RESPONSES - directory containing "Positive" and "Negative" subdirectories with custom reinforcement~

cargo-clicker comes with some built in clicks, but if you want special treatment then set CARGO_CLICKER_RESPONSES appropriately and have at it. if the appropriate directory is empty, no sound be played.

thanks

thanks to cargo-mommy for the inspiration 🥺

licensing

dual-licensed MIT and Apache 2.0

Dependencies

~1–32MB
~398K SLoC