A simple command-line Pomodoro timer.
This is a CLI tool to help you manage your time using the Pomodoro Technique. You can start timers for specific tasks, view your task history, and stop running timers.
To use this tool, you need to have Go installed on your system.
-
Clone or download the repository:
git clone https://github.com/hmitsis-dev/pomo-cli cd pomo-cli -
Build the executable:
go build -o pom pom.go
This will create an executable file named
pomfor your current OS.To specifically create a Windows executable (
.exe) from a non-Windows OS, use the following command:GOOS=windows GOARCH=amd64 go build -o pom.exe
To use pom from any directory, you should move the executable to a directory that is in your system's PATH.
-
Move the executable:
sudo mv pom /usr/local/bin/
This moves the executable to a common directory for user-installed executables.
-
Make it executable:
sudo chmod +x /usr/local/bin/pom
Now you can run the tool by simply typing pom in your terminal.
The following commands are available:
Starts a new Pomodoro timer.
Flags:
--task: (Required) The name of the task you are working on.--time: The duration of the Pomodoro session in minutes. Defaults to 25.--background: Run the timer silently in the background.
Example:
pom start --task "Write documentation" --time 30To run in the background:
pom start --task "Code review" --backgroundDisplays the history of completed Pomodoro sessions.
Example:
pom viewStops a Pomodoro timer that is running in the background.
Example:
pom stoppom statsHave a suggestion, question, or found a bug?
👉 Open an Issue
This project is licensed under the terms of the LICENSE file.