unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Accessing arguments in hooks
@ 2021-12-17 11:32 Al Haji-Ali
  2021-12-17 13:19 ` David Bremner
  0 siblings, 1 reply; 2+ messages in thread
From: Al Haji-Ali @ 2021-12-17 11:32 UTC (permalink / raw)
  To: notmuch

Hello,

Is there a way to access the parameters of `notmuch new` in hooks?
At the moment I control the verbosity of my hooks by setting an environment variable, but I think it would be nicer if I can get that flag from  arguments to `notmuch new` (like `--quiet` and `--verbose`).

Thanks,
-- Al

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-17 13:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-17 11:32 Accessing arguments in hooks Al Haji-Ali
2021-12-17 13:19 ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).