]> git.notmuchmail.org Git - notmuch/commit
cli: try to run external notmuch- prefixed commands as subcommands
authorJani Nikula <jani@nikula.org>
Sat, 22 Oct 2016 12:50:05 +0000 (15:50 +0300)
committerDavid Bremner <david@tethera.net>
Mon, 31 Oct 2016 11:13:02 +0000 (08:13 -0300)
commit429c30c2bc6587023f234a8a801f9ad5ce7076c0
tree011605ca92d0ba442e534c659e6904084320e255
parentb810e64242faf1616ee2f81358cbb8bd31f03d18
cli: try to run external notmuch- prefixed commands as subcommands

If the given subcommand is not known to notmuch, try to execute
external notmuch-<subcommand> instead. This allows users to have their
own notmuch related tools be run via the notmuch command, not unlike
git does. Also notmuch-emacs-mua will be executable via 'notmuch
emacs-mua'.

By design, this does not allow notmuch's own subcommands to be
overriden using external commands.
notmuch.c