drobertadams/toggl-cli — pull request #1 by mthowe (2012-09-11 03:16:33+00:00)
Title: Some improvements based on my needs

Hey Dr. Adams,

I don't know if you remember me but my name is Morgan Howe. I was a student of yours back around 2001-2004 at GVSU. I didn't even realize this was your repository until after I had already made the changes I wanted to suit my workflow. :D My company has just started having us use toggl for internal time tracking, and yours was the only one close to fitting with my normal CLI only stateless workflow. There were a few extra features I needed, including specifying start/end times, since I often forget to start or stop my timers. I've also moved the config into a simple rc, since I wanted to get the AUTH out of the main implementation, and add the ability to specify the timezone for supporting the start/stop times. One more thing I did forget to mention in the commit message is that I added support for partially specifying the project name. Since my company uses rather long project names, you can specify a prefix to match and it will return the first matching project. E.g. "@My Really Long Project Name" can be specified as "@My Real". If you would prefer I split this up into multiple commits or whatever, let me know and I can do that. Thanks for starting this project, saved me some time in adjusting to Toggl, and it was a surprise to suddenly run into you on Github after all this time!

Regards,
Morgan

Commit message below:

Doing an 'ls' with the -v option will show time entry ids which can be
used with 'rm' to delete an entry. Start and stop now accept an
additional optional parameter to specify the time. Config has been
moved to a separate ~/.togglrc file, running a command without this file
will generate a default.