๐Ÿ… Tomato Clock (Rust)

February 29, 2024 ยท View on GitHub

Test Release

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 โฐ 

Desktop Notification

notify-rust