2 releases

0.1.1 Apr 19, 2024
0.1.0 Apr 19, 2024

#2051 in Command line utilities

26 downloads per month

MIT/Apache

125KB
70 lines

About

pocketwatch is a simple Rust CLI timer utility. It has the ability to read the current local time, count up (stopwatch), or count down (timer) with an audible alarm.

Installation

pocketwatch can be installed through cargo.

cargo install pocketwatch

Usage

Read the current local time:

pocketwatch read

Start a stopwatch

pocketwatch count-up

Start a timer - duration specified as ((h:)m:)s

pocketwatch count-down 10
pocketwatch count-down 2:30
pocketwatch count-down 1:30:00

Credits

The alarm sound was created by FoolBoyMedia.

Dependencies

~12–45MB
~722K SLoC