timer-cli-rs-1.2.1 is not a library.
Command-Line Timer
Description
A simple command-line countdown timer written in Rust.
Features
- Accepts human-friendly duration formats (e.g.
10s,5m,2h,1d). - Defaults to 10 seconds if no duration is provided.
- Caps maximum duration at 10 years.
- Displays time remaining in
HH:MM:SS. - Clears and updates the line dynamically.
- Handles most errors gracefully.
- Can execute command on completion.
Usage
*command is optional
Duration format
10s,30sec,60seconds5m,2min,10minutes1h,2hr,3hours1d,2days
If no duration is provided, defaults to 10 seconds. Maximum supported duration: 10 years.
Install
Build
Examples
License
MIT License Copyright (c) 2025 Andrew McCall