diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-10-27 06:08:21 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-10-27 06:08:21 +0900 |
| commit | 79c9870704df5ce77cb852bccec7dc780a248b2e (patch) | |
| tree | b597ebd73abaa68d78de73e3973d253b73984871 /README.md | |
| parent | 531820f3d60a301751c41d0aac5bbf5615f677b1 (diff) | |
| download | term-clock-main.tar.gz term-clock-main.tar.zst term-clock-main.zip | |
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 20 |
1 files changed, 17 insertions, 3 deletions
@@ -4,9 +4,10 @@ A digital clock that runs in your terminal, providing clock, alarm and timer. ## Features -- **Clock Mode**: Digital display of current time (24-hour format) -- **Alarm Mode**: Screen flashes at the specified time -- **Timer Mode**: Countdown timer (up to 99 minutes) +- Clock Mode: Digital display of current time (24-hour format) +- Alarm Mode: Screen flashes at the specified time +- Timer Mode: Countdown timer (up to 99 minutes) +- Countdown Mode: Countdown from a specified duration to zero ## Installation @@ -49,6 +50,19 @@ $ term-clock timer 90s # 90-second timer $ term-clock timer 1h30m # 1 hour 30 minutes timer (note: maximum 99 minutes) ``` +### Countdown Mode + +Counts down from the specified number of seconds to zero, displaying the remaining seconds. +The screen flashes when the countdown reaches zero. + +```bash +$ term-clock countdown 10 # Countdown from 10 seconds +$ term-clock countdown 600 # Countdown from 600 seconds +$ term-clock countdown 9999 # Countdown from 9999 seconds +``` + +Note: Maximum supported duration is 9999 seconds. + ## How to Exit Press `Ctrl+C` or type `q` to exit. |
