No description
Find a file
Ruidy 85f1d3106f
feat: add CLI flags for timer name and duration
Introduce command-line flags to customize the timer's name and duration.
The `-name` flag sets the timer's label, and the `-duration` flag
accepts
a Go duration string (e.g., "25m", "1h"). This enhances flexibility for
users to configure their Pomodoro sessions directly from the command
line.
2025-05-18 23:47:21 +02:00
.gitignore chore: update deps, add docs and justfile 2025-05-18 23:47:21 +02:00
go.mod chore: update deps, add docs and justfile 2025-05-18 23:47:21 +02:00
go.sum chore: update deps, add docs and justfile 2025-05-18 23:47:21 +02:00
justfile chore: update deps, add docs and justfile 2025-05-18 23:47:21 +02:00
main.go feat: add CLI flags for timer name and duration 2025-05-18 23:47:21 +02:00
README.md chore: update deps, add docs and justfile 2025-05-18 23:47:21 +02:00

Pomodoro Timer

A simple Pomodoro timer written in Go.

Features

  • Start a Pomodoro session from the command line
  • Customizable session and break durations

Usage

go run main.go

Or build and run:

go build -o pomodoro main.go
./pomodoro

Requirements

  • Go 1.18+