Initial support for selecting what is output

Subject: Initial support for selecting what is output

Date: Sat, 24 Apr 2010 08:44:35 -0300

To: notmuch@notmuchmail.org

Cc:

From: david@tethera.net


These are some preliminary patches to add a --output argument to
notmuch show.

	notmuch show --format=json --output=from,subject ${query}

or

	notmuch show --format=json --output=to,body ${query}

I'd like to implement a bit finer control (to get message-id's only is
not possible right now), and it needs documentation and a test, but I
thought I'd toss this out there to see what people think.


Thread: