]> git.cworth.org Git - obsolete/notmuch-to-html/commit
Add support for a --query option (along with a default configuration)
authorCarl Worth <cworth@cworth.org>
Tue, 22 Apr 2014 20:48:23 +0000 (13:48 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 22 Apr 2014 20:48:23 +0000 (13:48 -0700)
commit396869cf393e7777cc640049572c7873a42b3f71
tree202d5c6e1744b55a679f6014c12015bfb7a50b60
parentf55ff7e7dcea67f544050c4a9508b3d1764d7c69
Add support for a --query option (along with a default configuration)

Since I don't like programs that require configuration, here we make
this script self-configuring. When run with no options, it will print
an example usage for a simple query:

notmuch-to-html --query=tag:inbox

Then, if run with that query, it will use a very simple, built-in
configuration to run the query. Finally, it will also print out,
(to stderr, to avoid breaking redirection), a sample configuration
file so that the user can customize the output.
notmuch-to-html