[Jameson Graef Rollins] Bug#826280: notmuch: shortcut to list tags

David Bremner david at tethera.net
Sat Jun 4 05:53:36 PDT 2016


David Bremner <david at tethera.net> writes:

>
> I occaissionally want to grep through all tags used in my store:
>
> notmuch search --output=tags '*' | grep ....
>
> It would be nice if there was a shortcut to output all tags to stdout:
>
> notmuch tag | grep ...
>
> Just utilizing the notmuch tag command when called with no arguments
> would be the most intiuitive (just like git) and simplest.

I haven't looked at how much work this would be (the notmuch-tag command
line parsing is slightly more complicated than some of the other
commands), but a related issue is that it seems sensible for notmuch
query commands (show/search) to interpret a missing query string as '*',
in the same way that dump does.

d


More information about the notmuch mailing list