go install github.com/antonmedv/countdown@latest
Or download prebuilt binary from releases.
Specify duration in Go format 1h2m3s
.
countdown 25s
Or specify target time: 02:15PM
or 14:15
. For instance, if the current time
would be 11:30, the next example would trigger a 2-minute countdown.
countdown 11:32
Add a command with &&
to run after the countdown.
countdown 1m30s && say "Hello, world"
Count from up from the zero.
countdown -up 30s
Announce (via macOS say
command) last 10 seconds
countdown -say 10s
p
orP
: To pause the countdown.c
orC
: To resume the countdown.Esc
orCtrl+C
: To stop the countdown without running next command.