CLI: add notmuch-config support for named queries
authorDavid Bremner <david@tethera.net>
Tue, 22 Mar 2016 10:54:52 +0000 (07:54 -0300)
committerDavid Bremner <david@tethera.net>
Wed, 25 May 2016 10:40:44 +0000 (07:40 -0300)
commit2d2a13966c74ffe86fc10abfbe1ac4c9798788ce
tree94666c873f8ad22877f6d5e9b0e53f5cff8225a4
parentc6fcc555dde2a50ac779d5871720a4f074322457
CLI: add notmuch-config support for named queries

Most of the infrastructure here is general, only the validation/dispatch
is hardcoded to a particular prefix.

A notable change in behaviour is that notmuch-config now opens the
database e.g. on every call to list, which fails with an error message
if the database doesn't exit yet.
doc/man1/notmuch-config.rst
notmuch-config.c
test/Makefile.local
test/T030-config.sh
test/T600-named-queries.sh [new file with mode: 0755]
test/test-lib.sh