countdown

command module
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 8 Imported by: 0

README

Countdown


Countdown Demo

Install

brew install countdown
go install github.com/antonmedv/countdown@latest

Or download prebuilt binary from releases.

Usage

Specify duration in Go format 1h2m3s or a target time: 02:15pm, 14:15.

countdown 25s
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

Key binding

  • Space: Pause/Resume the countdown.
  • Esc or Ctrl+C: Stop the countdown without running the next command.

Become a sponsor

Every line of code in my repositories 📖 signifies my unwavering commitment to open source 💡. Your support 🤝 ensures these projects keep thriving, innovating, and benefiting all 💼. If my work has ever resonated 🎵 or helped you, kindly consider showing love ❤️ by sponsoring. 🚀 Sponsor Me Today! 🚀

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL