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

Can't (seem to figure out how to) modify priority on the CLI #174

Closed axelsimon closed 1 year ago

axelsimon commented 1 year ago

Hi and thanks for making dstask!

This is using v0.26.

The help for dstask modify suggests the following syntax:

Usage: dstask <id...> modify <filter>
Usage: dstask modify <filter>

anld states:

Modifiable attributes: tags, project and priority.

But this is what happens:

$ dstask 18 modify P4
no operations specified

P4 is definitely a valid filter, as dstask P4 returns all tasks with priority 4.

Am i missing some subtlety here? If so, can we remove the subtlety and make modifying priority the same as modifying tags? :smiley:

naggie commented 1 year ago

Valid priorities are P0 P1 P2 P3, there is no P4. It would be regarded as part of the task name. dstask 18 modify P3 is indeed syntactically correct

axelsimon commented 1 year ago

Makes sense, thanks @naggie.