work
work is a stupid simple time tracker.
A typical work-day might look like,
$ work task "First task of the day"
$ work task "Second task of the day" --chore
$ work list
08:29 - 10:20 Chore Second task of the day 2h 51min
08:19 - 08:29 Work First task of the day 0h 10min
$ work status
Current task: "Second task of the day"
$ work stop
Usage
To begin a task,
work task "Starting my first task"
Tasks have 1 of 4 possible classifications:
The default is Work and the others are enabled by their respective flag.
For example, to create a Break task,
work task --break "Going for lunch"
The previous task will end when a new task begins.
Similarly, a task can be stopped explicitly with,
work stop
work status, work list, and work report are available to analyze current and previous tasks.
Autocomplete
work provides shell autocomplete out-of-the-box.
To enable autocomplete,
work install-completion
Install
pip:
work is available as a pypi package.
pip install gwork
go:
go install github.com/jmelahman/work@latest
github:
Prebuilt packages are available from Github Releases.