Like `sleep`, but with progress
Go Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.travis.yml
CHANGELOG.md
Makefile
README.md
main.go
main_test.go

README.md

countdown Build Status

Counts down for a duration (like sleep, but with progress)

Installation

  1. Download the latest package for your platform from the Releases page.
  2. Untar the package with tar -zxvf cachout*.tar.gz.
  3. Move the extracted countdown file to a directory in your $PATH (for most systems, this will be /usr/local/bin/).

Or, if you have a Go development environment:

go get github.com/justincampbell/countdown

Usage

countdown 5m

The duration is parsed with Go's time.ParseDuration.

Example durations are 30s, 5m, 2h, or 1h30m. Omitting the time unit will default to seconds.