Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying default sort method in config file #558

Open
strk opened this issue Jul 25, 2024 · 2 comments
Open

Allow specifying default sort method in config file #558

strk opened this issue Jul 25, 2024 · 2 comments

Comments

@strk
Copy link

strk commented Jul 25, 2024

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
Copy link
Member

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

@WhyNotHugo
Copy link
Member

default_sort would be a reasonable addition in any case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants