Track your time in a UDA in taskwarrior
Install using pip:
pip install taskwarrior-hook-time-tracking
And add it to your Taskwarrior hooks:
mkdir -p ~/.task/hooks ln -s `which taskwarrior_timetracking` ~/.task/hooks/on-modify.timetracking
Use task <TASK ID> start and task <TASK ID> stop to record when you have started and stopped working on tasks.
Tracked time is stored in a task attribute named timetrackingseconds holding the total number of seconds that the task was active.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for taskwarrior-hook-time-tracking-0.1.1.tar.gz