Sleep command that emits a countdown timer to stderr
Go
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
hsleep
README.md
main.go

README.md

hsleep

hsleep is a tool that will sleep for a given amount of time while displaying a countdown.

hsleep animated gif counting down

Usage

$ hsleep <seconds>

hsleep is a very simple program. It only takes a single argument which is the number of seconds to wait for. While waiting, it will print the number of seconds left to stderr.

So, for instance, to sleep for five seconds:

$ hsleep 5