dooit icon indicating copy to clipboard operation
dooit copied to clipboard

💡 [FEAT] Query TODOs from the commandline

Open FelixKratz opened this issue 11 months ago • 1 comments

I think it would be great if there was a commandline interface to dooit, with which the todos could be printed to stdout.

My use case would be that I would like to display the todo that is due next in my global system status bar along with some other todo metadata.

Something like dooit --list all --sort due --format "%n %d %t" would be a great addition. The command should then only output the relevant todos to stdout in the specified format (e.g. %n would be the format sequence for the title of the todo, %d would be the due date and %t would be the tags of the todo item etc.) and sorted by the flag supplied in --sort.

FelixKratz avatar Jul 06 '23 19:07 FelixKratz

Hey!

My use case would be that I would like to display the todo that is due next in my global system status bar along with some other todo metadata.

Maybe you can currently use python scripts for that?

This is a great idea tho. Altho I am a bit confused about the implementation part since it has a pretty complex structure :(

kraanzu avatar Jul 09 '23 13:07 kraanzu