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

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

Date: Sat, 04 Jun 2016 09:53:36 -0300

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


David Bremner <david@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

Thread: