Specify duration in go format 1h2m3s
.
countdown 25s
Add command with &&
to run after countdown.
countdown 1m30s && say "Hello, world"
p
orP
: To pause the countdown.c
orC
: To resume the countdown.Esc
orCtrl+C
: To stop the countdown without running next command.
go get github.com/antonmedv/countdown
MIT