Skip to content

bertoort/terminal-countdown-timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal Countdown Timer

Simple CLI timer written in Haskell.

demo

Usage

Type timer and the time that you want (less than an hour)

# Yes πŸ‘
timer 40 # starts 00:40
timer 220 # starts 02:20
timer 1230 # starts 12:30

# No πŸ‘Ž
timer # time is required
timer 1:00 # no need for colons
timer 10 minutes # no need for words
timer 89 # type 129 instead

IOS Download

$ brew install wget
$ wget https://github.com/berto/terminal-countdown-timer/raw/master/bin/timer 
$ chmod u+x timer
$ mv timer /usr/local/bin

Running / Testing

First, install stack. curl -sSL https://get.haskellstack.org/ | sh will work on most Unix systems, otherwise checkout https://docs.haskellstack.org/en/stable/README/ . If you haven't run other Haskell projects on your system, the first time you try to build the project it may say you have to run stack setup; do so.

Running:

stack build && stack exec timer 

Testing:

stack build && stack test

Installing:

stack build && stack install .

About

Set a time, it counts down from then

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published