naggie / dstask

Git powered terminal-based todo/note manager -- markdown note page per task. Single binary!
https://calbryant.uk/blog/dstask-a-taskwarrior-alternative/
MIT License
793 stars 47 forks source link

"note" command should be "annotate" #180

Open axelsimon opened 1 year ago

axelsimon commented 1 year ago

Hi, All of what I'm about to say is probably personal, but I thought I'd share. I think there's a small inconsistency in how the dstask note command is named.

If you look at dstask commands, they fall more or less in one of three basic categories:

"note" is an action, but its command is not a verb, unlike essentially all the other. There is an exception with "done", but I'd argue that "done" is specific enough that it's not surprising and still makes sense, although it could helpfully have dstask resolve as a synonym, for consistency.

When looking to add a note, I want to tell dstask to "annotate", and not to "note". If "note" must exist, i'd expect "note" to display the notes about a task, more like a "filter" subcommand.

Am I over-thinking this?

naggie commented 1 year ago

No I think you're right! I think note should become annotate, leaving an alias note.

I think resolve is more consistent too, and matches the database