pimutils / todoman

✅ A simple, standards-based, cli todo (aka: task) manager.
https://todoman.readthedocs.io
ISC License
483 stars 78 forks source link

Allow specifying default sort method in config file #558

Open strk opened 1 month ago

strk commented 1 month ago

I know I want list command to have --sort due --no-reverse by default, but haven't found a way to specify this in config file at this moment.

I guess GH-384 would give me an option but I'm wondering if it's cleaner to have something that works when you just run todoman list, maybe an option like default_list_sort_options ?

WhyNotHugo commented 1 month ago

default_command = "list --sort due --no-reverse" should work.

WhyNotHugo commented 1 month ago

default_sort would be a reasonable addition in any case.