2 releases
| 0.1.1 | May 22, 2024 |
|---|---|
| 0.1.0 | Oct 27, 2022 |
#9 in #1d
83 downloads per month
7KB
93 lines
tiny-timer
A simple and tiny CLI timer written in rust. You provide a duration in a humanized format (such as 1h35m, 25m or 10s etc.) and (optionally) a command that you'd like to be executed after the duration is over.
Usage:
$ tiny-timer [duration] "[command to execute when done]"
Examples:
$ tiny-timer 47m11s
$ tiny-timer 10s
$ tiny-timer 1d
$ tiny-timer 1y
$ tiny-timer 1h43m9s "notify-send hello"
$ tiny-timer 1h43m9s "notify-send 'hello world'"
Nothing much to it. Install it through cargo running:
cargo install tiny-timer
Dependencies
~5–16MB
~155K SLoC