stempel-0.9.1 is not a library.
Visit the last successful build:
stempel-0.20.0
Stempel
Small utility to store and calculate the time spent at work.
Usage
)
where the available subcommands are
start: start a working period, aborts if you already started previously,stop: checks if astartentry is in the storagefileand calculates the working time, aborts if nostartentry is found,break: usestartorstopas subcommand to handle breaks,cancels the last break, start or does nothing if no break or start in the storage,statsprints current statistics.
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 ([0-9]*)(h|m|s)(+|-) where h|m|s refers
to hours, minutes and seconds, respectively.
--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.
Planned Features
- Statistics:
- pretty printinng
- provide weekly, monthly,... statistics
- allow printing only ranges of stats, e.g. months, years...
- Tracking: allow to specify start and stop time as cli arg
- Tracking: cancel started work
- Specify an offset from current time when starting or stoping
- Storage: don't store as seconds and nanoseconds, use something more verbose?
License
MIT