Timer
Simple timer with acoustic alarm
Build
make
Usage
The basic usage is to pass a duration compatible with ParseDuration
A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
./timer 25m
It's possible to pass mutiple durations.
./timer 25m 5m
If you want to repeat this secuence of durations just use the repeat option.
./timer 25m 5m -r
It's also possible to mute the acoustic signal.
./timer 25m -m
Documentation
Documentation is available at godoc
Contributions
Thanks to juskiddink for his gong.wav sound