Stempel

Build Crates.io

Small utility to store and calculate the time spent at work.

:warning: v0.10.0 introduces a new storage file format. Run stempel migrate to update your json database to the new format.

Usage

Example for managing one day:

```bash

First of, configure some settings

stempel configure

start working now

stempel start

start a break five minutes ago

stempel break start --offset 5m-

optional: break can be canceled:

stempel cancel

finish break in one hour (only if not canceled above)

stempel break stop --offset 1h+

Finish the day

stempel stop ```

For a detailed reference, run stempel help or stempel SUBCOMMAND --help. Available subcommands are:

Options:

--offset

This option allows to specify a positive or negative offset to the current time. In other words, giving the option --offset 10m+ means that the command is executed with the current time plus 10 minutes, 20s- stands for current time minus 20 seconds. The syntax allows [Xh][Xm][Xs](+-) where X can be any number and h|m|s refer to hours, minutes and seconds, respectively.

Some examples:

--storage

Specifiy a path to the storage file where all work entries are written to. The path defaults to $HOME/.config/stempel.json and is created on the first invocation of the start subcommand.

Features

License

MIT