naggie / dstask

Git powered terminal-based todo/note manager -- markdown note page per task. Single binary!

Home Page:https://calbryant.uk/blog/dstask-a-taskwarrior-alternative/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

axelsimon opened this issue · comments

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? 😃

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

Makes sense, thanks @naggie.