kraanzu / dooit

An awesome TUI todo manager

Home Page:https://pypi.org/project/dooit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

💡 [FEAT] Query TODOs from the commandline

FelixKratz opened this issue · 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.

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 :(