Re: Accessing arguments in hooks

Subject: Re: Accessing arguments in hooks

Date: Fri, 17 Dec 2021 09:19:48 -0400

To: Al Haji-Ali,


From: David Bremner

Al Haji-Ali <> writes:

> 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,

That is currently not possible. I guess splatting all the arguments into
an environment variable would not be that hard, but I'm not sure how
many people would find useful.

notmuch mailing list --
To unsubscribe send an email to