Crates.io | clock-cli |
lib.rs | clock-cli |
version | 0.1.1 |
source | src |
created_at | 2020-09-23 07:13:09.241089 |
updated_at | 2020-10-10 22:50:22.208014 |
description | Clock utilities (stopwatch, timer) on the command line with TUI (text user interface) |
homepage | |
repository | https://github.com/TianyiShi2001/clock-cli-rs |
max_upload_size | |
id | 291996 |
size | 422,417 |
Command line clock utilities, with TUI interfaces, implemented in Rust. Currently, these features are implemented:
If you are a Rustacean 🦀️, just cargo install clock-cli
.
Other installation methods: WIP
simply run:
clock
Space
to pause/resume.l
to lap. Mouse-scroll or press arrow keys to view more.return
to finish.Specify the duration (in natual language) to run a countdown.
Examples:
clock 3 minutes
clock 4h3m
clock 1 day
Space
to pause/resume.return
to cancel.Currently only works on Linux and MacOS.
The TUI is based on the cursive crate made by Alexandre Bury (@glycos), who also helped me a lot during the development of this crate (see glycose/cursive/#503)