Accessing arguments in hooks

Subject: Accessing arguments in hooks

Date: Fri, 17 Dec 2021 11:32:17 +0000

To: notmuch@notmuchmail.org

Cc:

From: Al Haji-Ali


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
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: