[notmuch] [PATCH] Add an "--output=(json|text|)" command-line option to both notmuch-search and notmuch-show.
David Bremner
david at tethera.net
Fri Dec 18 16:36:34 PST 2009
On Fri, 18 Dec 2009 09:33:43 -0800, Carl Worth <cworth at cworth.org> wrote:
> I think that selecting *what* to emit is orthogonal from selecting *how*
> to format that output.
I can see that point of view.
> See some ideas in the TODO file, (where I proposed --for and --format
> options for these).
It's a detail, but could you choose two names that are not substrings of
each other? Eventually we do want tab completion on the command line to
work :). Also, "search --for tags foo" suggests to me that
searching for tags matching foo. What about using --output for that?
One thing that is not completely clear to me at this point is what the
difference is between
notmuch search --for messages search-terms
and
notmuch show search-terms
David
More information about the notmuch
mailing list