stt/README.md

46 lines
813 B
Markdown
Raw Permalink Normal View History

2019-10-02 19:01:25 +02:00
stt
====
Simple Time Tracker
2019-10-02 19:34:23 +02:00
Build & Install
---------------
2019-10-02 19:01:25 +02:00
2019-10-02 19:35:19 +02:00
$ make clean stt
2019-10-02 19:34:23 +02:00
# make install
2019-10-02 19:01:25 +02:00
Usage
-----
2022-05-02 20:38:49 +02:00
$ stt -a task # start task
$ stt -s # stop task
$ stt [-l [Y-m-d]] # print report
2019-10-02 19:21:04 +02:00
task: task
started at: Wed Oct 2 19:04:04 2019
ended at: Wed Oct 2 19:05:04 2019
duration(hours): 0.02
task: readme@stt
started at: Wed Oct 2 19:05:04 2019
ended at: Wed Oct 2 19:09:28 2019
duration(hours): 0.07
task: publish@stt
started at: Wed Oct 2 19:09:28 2019
still running
duration(hours): 0.11
2019-10-02 19:01:25 +02:00
2022-02-14 18:53:52 +01:00
total: 0.20
2019-10-02 19:11:01 +02:00
Files
-----
If current working directory contains a `.ttimes` file it will be used
otherwise it will create or use `~/.ttimes`.
File format looks like:
<start-unix-timestamp>;<end-unix-timestamp>;<task>
Zero value end timestamp means task is still running.