Skip to content

ihsavru/pomodoro

Repository files navigation

Pomodoro CLI

A simple command line Pomodoro timer.

The Pomodoro Technique is a time management method developed by Francesco Cirillo in the late 1980s. The technique uses a timer to break down work into intervals, traditionally 25 minutes in length, separated by short breaks. Each interval is known as a pomodoro, from the Italian word for 'tomato', after the tomato-shaped kitchen timer that Cirillo used as a university student.

Usage

  1. Clone the repository: git clone https://github.com/ihsavru/pomodoro.git

  2. Run the program:

cd demo
go run main.go
  1. You can pass the following flags to it:
-longBreak int
  Duration of long break interval in minutes (default 5)
-shortBreak int
  Duration of short break interval in minutes (default 5)
-work int
  Duration of work interval in minutes (default 25)

Example:

go run main.go --work=45 --shortBreak=15 --longBreak=45
  1. Press Ctrl + C or q to quit.

enter image description here The notification sound is downloaded from freesound.org uploaded by user RSilveira_88.

About

A simple command line Pomodoro timer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages