Open
Description
⚡ Summary
Git provides the ability to set a standard template for your git setup using the GIT_TEMPLATE_DIR, Lefthook should be able to point, or generate or store a template for git to use via the GIT_TEMPLATE_DIR ENV.
Value
Rather than having to remember to manually run lefthook add every time you clone a repo you're looking to add functionality on, this would allow it to happen automatically.
Behavior and configuration changes
a command such as lefthook template
would point to a directory that could be saved via
export GIT_TEMPLATE_DIR=$(lefthook template)
or maybe it could create one at $XDG_CONFIG_HOME/lefthook/template or something.