imag/bin/domain
Matthias Beyer 7873d99df5 Reimplement imag-todo
Parts of this commit were written by Leon, but in the process we needed
to squash. Here's his original commit message:

> Change todo listing behaviours
>
> This commit changes the todo binary to have the following behaviour:
> - `imag-todo`: Print all non-hidden pending todos
> - `imag-todo pending`: Print all non-hidden pending todos
> - `imag-todo list`: Print all non-hidden non-done todos
>   - `--done`: Include done
>   - `--no-pending`: Exclude pending
>
> Each and every command respects the hidden attribute only on the view
> layer, but still pipes the hidden entries to stdout.
>
> Internally, this introduces a black- and whitelist todo-state matcher,
> that can be configured to match only certain todos and thereby
> improves reusability of functions over the domain binary.

Signed-off-by: Leon Schuermann <leon@is.currently.online>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-09 17:35:06 +01:00
..
imag-bookmark Transform imag-bookmark to not call exit() but propagate errors to main() 2019-10-27 10:50:30 +01:00
imag-calendar Transform imag-calendar to not call exit() but propagate errors to main() 2019-10-27 11:29:47 +01:00
imag-contact imag-contact: implement ImagApplication 2019-10-26 14:41:31 +02:00
imag-diary imag-diary: implement ImagApplication 2019-10-26 14:41:31 +02:00
imag-habit imag-habit: implement ImagApplication 2019-10-26 14:41:31 +02:00
imag-log imag-log: implement ImagApplication 2019-10-26 14:41:31 +02:00
imag-mail imag-mail: implement ImagApplication 2019-10-26 14:41:31 +02:00
imag-notes imag-notes: implement ImagApplication 2019-10-26 14:41:31 +02:00
imag-timetrack imag-timetrack: implement ImagApplication 2019-10-26 14:41:31 +02:00
imag-todo Reimplement imag-todo 2019-11-09 17:35:06 +01:00
imag-wiki imag-wiki: implement ImagApplication 2019-10-26 14:41:31 +02:00