2024-10-23 15:43:05 +00:00
|
|
|
# ChronoTomato
|
|
|
|
|
|
|
|
A GoTomato command line client written in Go
|
|
|
|
|
2024-10-23 15:59:46 +00:00
|
|
|
## Installation
|
|
|
|
|
|
|
|
`go install git.smsvc.net/pomodoro/ChronoTomato@latest`
|
|
|
|
|
2024-10-23 15:43:05 +00:00
|
|
|
## Configuration
|
|
|
|
|
|
|
|
`ChronoTomato` can be configured via CLI parameters or a config file.
|
|
|
|
|
|
|
|
The configuration is loaded from `~/config/ChronoTomato.yml`, here is an example:
|
|
|
|
```
|
|
|
|
url: ws://localhost:8080/ws
|
|
|
|
password: ""
|
|
|
|
config:
|
|
|
|
work: 1500
|
|
|
|
shortbreak: 300
|
|
|
|
longbreak: 600
|
|
|
|
sessions: 4
|
|
|
|
```
|
|
|
|
|
|
|
|
The `url` must be passed either via parameter or config file.
|
|
|
|
The `password` and the `config` are optional, the later can only be set via the configuration file.
|