mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-14 15:43:35 +01:00
pre-hook & post-hook #99
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @verwilst on GitHub (May 11, 2016).
Instead of a simple --hook, it would be nice to have a --pre-hook and --post-hook, so we can do cleanups afterwards.
@lukas2511 commented on GitHub (May 11, 2016):
The hook script gets called with a parameter which tells it what to do, see https://github.com/lukas2511/letsencrypt.sh/blob/master/docs/examples/hook.sh.example.
With that I don't see any reason why to make this script more complicated with dozens of hook parameters for any case where a hook could be called.
@verwilst commented on GitHub (May 12, 2016):
Ok, let's store this in the brainfart section. :-) Doh!