zenhob / hcl

Command-line tool for manipulating Harvest timesheets
http://zenhob.github.io/hcl
MIT License
223 stars 45 forks source link

Adding Git Style Messages #70

Open onshorechet opened 8 years ago

onshorechet commented 8 years ago

Like git when a command that can take a note as an argument does not contain a note as an argument the user is prompted with their default editor to add or edit the existing note depending on the command used.

If start is used the note is defaulted to blank if left blank no note is set.

If stop the existing note is used to populate the editor. Changes to this note will overwrite the existing note, not append.

If a note is included in either start or stop the command behave as normal appending the note argument to the entry.

zenhob commented 8 years ago

Thanks so much for the patch! I'm busy right now but I'll get to this soon.

zenhob commented 7 years ago

This is a great idea, but this patch needs some work. I've offered a few comments, but since it's been literally years I understand if you're over it. :)