Crates.io | pocketwatch |
lib.rs | pocketwatch |
version | 0.1.1 |
source | src |
created_at | 2024-04-19 14:06:16.262222 |
updated_at | 2024-04-19 18:31:56.000068 |
description | A simple timer CLI |
homepage | |
repository | https://github.com/dragazo/pocketwatch |
max_upload_size | |
id | 1213714 |
size | 165,885 |
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.
pocketwatch
can be installed through cargo
.
cargo install pocketwatch
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
The alarm sound was created by FoolBoyMedia.