#pomodoro #productivity #daemon #cli-client

app pomc

Client program for pomd pomodoro daemon

2 stable releases

1.1.3 Dec 11, 2024
1.1.2 Jan 5, 2024

#4 in #pomodoro

0BSD OR MIT OR Apache-2.0

16KB
149 lines

pomc: pomodoro daemon client

Crates.io Version

This program provides a basic CLI client for the pomd pomodoro daemon.

Installation

Via crates.io

cargo install pomc

From Source

cargo install --path .

Usage

Usage: pomc <COMMAND>

Commands:
  start          Start the pomodoro timer
  pause          Pause the pomodoro timer
  stop           Stop the pomodoro timer
  skip           Skip the current timer
  get-iteration  Retrieve the current iteration of the pomodoro
  get-remaining  Get remaining timer duration (MM:SS)
  is-running     Get whether the timer is running
  is-on-break    Get whether the current timer is a break
  help           Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

This program could be used in statusbars to monitor pomd status, as well as used directly from a terminal to control the timer.

Dependencies

~11–21MB
~319K SLoC