Closed samuelallan72 closed 3 years ago
Good idea.
Though, maybe we can go with --context none
- to be consistent with other fields which support none
. I doubt none
as a value for a tag or a context makes sense :)
In a new branch(for both todo_lib and ttdl) I added filtering todos with --context
, --project
, and --tag
. All accept comma-separated list of values including special ones(none
and any
- as other filters accept). In addition, all support basic pattern matching (*txt
, txt*
, *txt*
- end with, start with, contain the text txt
). After improving README, I'll publish the new versions.
Master branch updated, but I have not updated the crate - I want to fix issue 43 first
@VladimirMarkelov thanks, this is great! :D
This is something that I'm looking for to support my gtd-like workflow, where no context == inbox.
Given the todo.txt contents:
A command like
ttdl list --no-context
should output:Ditto for tags.