๐ Tomato Clock (Rust)
February 29, 2024 ยท View on GitHub
Tomato Clock is a straightforward command-line Pomodoro application.
๐ก This source code was primarily generated by ChatGPT through a simple conversion from Python to Rust.
Installation
- Install via source code:
git clone https://github.com/coolcode/tomato-clock-rs.git
cd tomato-clock-rs
cargo build --release
cd target/release
./tomato -t
How to use
tomato # start a 25 minutes tomato clock + 5 minutes break
tomato -t # start a 25 minutes tomato clock
tomato -t <n> # start a <n> minutes tomato clock
tomato -b # take a 5 minutes break
tomato -b <n> # take a <n> minutes break
tomato -h # help
Terminal Output
๐
tomato 25 minutes. Ctrl+C to exit
๐
๐
---------------------------------------------- [8%] 23:04 โฐ