[Ml-yokadi] list done tasks

Aurélien Gâteau aurelien.gateau
Mar 18 Nov 10:43:19 CET 2008


simon wrote:
> Hello,
> 
> Every Friday, my boss ask me about the tasks i have done during the
> week. As i have a red fish memory, i am very worried about that...
> So... may be yokadi could help me to fill my weak memory :)
> 
> I don't know what's the correct way to provide this support.
> May be the t_list command could support more options to let a user perform
> more accurate research... may be some additional commands are needed...

Yes, Sebastien changes make it possible to do what your patch does:

t_list -d <prj> lists all done tasks.

You still have a point about the task list "done date" column though. In 
fact I am wondering if showing the "creation date" is really useful.

Now that we have a real parser we can add some magic to t_list. I was 
thinking about the following:

"--done" lists all done tasks

"--done <datespec>" would list all done tasks after <datespec>. 
<datespec> could be an absolute date or some keywords like "today", 
"thisweek", "lastweek", "thismonth", "lastmonth".

"--top-urgent" list the 5 most urgent tasks

"--top-urgent <n>" would list the <n> most urgent tasks

"--contain <txt>" would return all tasks whose title contains <txt>.

"--match <rx>" would return all tasks whose title matches <rx> (need to 
check if sqlite supports regex).

I would also like to use "-k" to pass keywords. This would be more 
consistent with t_add and t_edit.

Aurélien


Plus d'informations sur la liste de diffusion Ml-yokadi