Go to file
Moritz Böhme 739f76fa90
feat: better listing of timers
2023-08-26 11:08:45 +02:00
src feat: better listing of timers 2023-08-26 11:08:45 +02:00
.envrc feat: init 2023-06-20 20:12:02 +02:00
.gitignore feat: init 2023-06-20 20:12:02 +02:00
Cargo.lock feat: add argument to output answers as json 2023-08-26 11:06:51 +02:00
Cargo.toml feat: add argument to output answers as json 2023-08-26 11:06:51 +02:00
README.md feat: add README.md 2023-06-21 17:59:40 +02:00
default.nix feat: init 2023-06-20 20:12:02 +02:00
flake.lock build: update inputs 2023-08-26 09:40:12 +02:00
flake.nix build: update inputs 2023-08-26 09:40:12 +02:00
shell.nix feat: init 2023-06-20 20:12:02 +02:00

README.md

time(rs)

A simple Rust program that implements a timer daemon and CLI. It allows users to interact with timers by adding, removing, and listing them. The daemon listens for incoming connections and handles commands sent by the CLI. The CLI provides a convenient interface for users to interact with the daemon.

Example Usage

Here is an example of how the timer daemon and CLI can be used together:

  1. Start the timer daemon by running the command timers daemon.
  2. In a separate terminal, use the CLI to interact with the timer daemon:
    • Add a timer: timers add <name> <duration_seconds>
    • List timers: timers list
    • Remove a timer: timers remove <name>

The timer daemon will receive the commands from the CLI and perform the requested actions. The CLI will display the responses from the timer daemon.