act - Activity Continuous Tracking
A tool for timekeeping and tracking. For now only for Redmine.
The configuration file need to be named .act.yaml
and placed on the user’s home directory.
On Windows it is the %userprofile%
, on any Unix like it is the ~
path.
An example of configuration:
redmine:
url: 192.168.3.41
access_key: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
default:
activity_id: 24
activities:
dev: 24
cr: 25
git:
path: /usr/bin/git
regex: '[0-9]*'
editor: vim
The commands to manage the tracking are start
, stop
, status
, push
and rm
.
A very simple workflow example:
act start
2017/10/19 20:17:01 Activity 1234 started.
act status
Issue Started At Stopped At Spent Comment
{0} #1234 8:17PM - 5m40.367443079s ""
act stop
2017/10/19 20:22:47 Activity 1234 stopped. Time elapsed 0.10 (5m45.347366369s)
act status
Issue Started At Stopped At Spent Comment
{0} #1234 8:17PM 8:22PM 5m45.347366369s ""
act push
Added 0.10 hour(s) to the Issue #1234.
spent
act spent 5.67 -i 12345 -a dev -d 2017-09-15 -m 'Making the world a better place for humans'
Parameters/Arguments:
1.5
— (1 hour 30 minutes) As a fraction of hour1:45
— (1 hour 45 minutes) As time with hour and minuteOptions/Flags:
2017-09-22
— Complete date09-22
— Only the month and day. The year will be the current one22
— Only the day. The year and month will be the current ones-1
— Informing how many days back from the current datelog
act log -i 12345
Options/Flags:
link
act link -i 12345
Options/Flags:
start
act start -i 12345
Options/Flags:
stop
act stop
push
act push
status
act status
rm
act rm 0
Parameters/Arguments:
status
list (without the curly brackets).note
act note -i 12345 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec varius eu purus in aliquam. Ut pellentesque magna purus, eu imperdiet justo convallis ac."
act note -i 12345 -t mr
Parameters/Arguments:
Options/Flags:
templates
inside .act
in the home directory (~/.act/templates/text_file
)Act is released under the MIT License.