[PATCH 1/2] config: Add 'config list' command

Tomi Ollila tomi.ollila at iki.fi
Wed Mar 21 11:30:43 PDT 2012

On Wed, 21 Mar 2012 09:31:37 +1100, Peter Wang <novalazy at gmail.com> wrote:
> Add a command to list all keys in a given configuration section.
> One use is as follows: a MUA may prefer to store data in a central
> notmuch configuration file so that the data is accessible across
> different machines, e.g. an addressbook.  The list command helps
> to implement features such as tab completion on the keys.

Before getting deeper into implementation it is good to remember
that 'notmuch config' is loosely modeled after 'git config'.

git config --list outputs somewhat different output.

Maybe this command should be like 'notmuch config list-section-keys'

> ---
>  notmuch-config.c |   27 +++++++++++++++++++++++++++
>  1 files changed, 27 insertions(+), 0 deletions(-)


More information about the notmuch mailing list