gammons / ultralist

Simple task management for tech folks.
https://ultralist.io
MIT License
952 stars 106 forks source link

[feature request] multiple lists, which can be chosen via a command line argument #112

Open aaronjanse opened 6 years ago

aaronjanse commented 6 years ago

It would be great if there could be multiple todo lists, so that similar projects (e.g. "+math", "+english") can all be grouped under a todo list of (for example) "school"

jrnl is an example of a program that does this well, but I'm not sure about the specifics of how it should be done for todolist.

I am aware that you can have different .jrnl.json files in different directories, but it is a little of a pain to cd between different directories just for todolist.

Some examples of what it would look like with this implemented (just suggestions, feel free to do something different):

# default list (no changes for this one)
todolist a go to store due tomorrow
todolist a visit friends due friday
todolist l
# school list
todolist school a +english read to chapter 7 due tomorrow
todolist school a +math study for exam due tuesday
todolist school l
# work list
todolist work a +security do monthly reviews due monday
todolist work a +security apply patch to production servers due today
todolist work l
# view all lists
todolist l all

By the way, todolist is an excellent command line tool that I am really happy with, and I will continue to use & recommend this to friends whether or not this is implemented.

NonerKao commented 6 years ago

Thanks for the proposal, and sorry for the late reply.

While we may need more conversation here, I come up with an alternative solution: you may assign multiple project to the todos, and then apply

$ todolist l +school
1 [] tomorrow +school +english read to chapter 7
2 [] tuesday  +school +math study for exam
$ todolist l +work
...

Is this existing function helpful for you?

aaronjanse commented 6 years ago

Yes, this would work.

At the time fo the proposal, I was much more todolist-obsessed. Now that I am only writing down tasks that need to be written down (rather than writing them down because it's fun), I agree that the existing functionalities are sufficient.

I'll close this issue but feel free to reopen it.