aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-27 00:54:23 +0900
committernsfisis <nsfisis@gmail.com>2025-03-27 00:54:23 +0900
commitf42703288ce166381febfe8bcdc01c412f414772 (patch)
tree4bc77e43d2f94ba9c1567e3f2bda28c0a5c3e9c2 /README.md
parent0db3ba5ff7eac4a9e4f90a9d10edad98151afa40 (diff)
downloadterm-clock-f42703288ce166381febfe8bcdc01c412f414772.tar.gz
term-clock-f42703288ce166381febfe8bcdc01c412f414772.tar.zst
term-clock-f42703288ce166381febfe8bcdc01c412f414772.zip
feat: update READMEv0.1.0
Diffstat (limited to 'README.md')
-rw-r--r--README.md51
1 files changed, 50 insertions, 1 deletions
diff --git a/README.md b/README.md
index 5bf23b2..963bcd0 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,53 @@
-# License
+# term-clock
+
+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)
+
+## Installation
+
+```bash
+go install github.com/nsfisis/term-clock@latest
+```
+
+## Usage
+
+### Clock Mode
+
+Displays the current time in digital format.
+
+```bash
+term-clock clock
+```
+
+### Alarm Mode
+
+The screen flashes when the specified time is reached. Time should be specified in 24-hour format (HH:MM).
+
+```bash
+term-clock alarm 07:00 # Alarm at 7:00 AM
+```
+
+### Timer Mode
+
+Counts down from the specified duration. Time should be specified using Go's duration format.
+The screen flashes when the timer ends.
+
+```bash
+term-clock timer 25m # 25-minute timer
+term-clock timer 90s # 90-second timer
+term-clock timer 1h30m # 1 hour 30 minutes timer (note: maximum 99 minutes)
+```
+
+## How to Exit
+
+Press `Ctrl+C` or type `q` to exit.
+
+## License
The MIT License