pre-commit init-templatedir

Install hook script in a directory intended for use with `git config init.templateDir`

Options

NameDescription
-h, --helpShow help message and exit
--color <color>Whether to use color in output. Defaults to `auto`
--config, -c <CONFIG>Path to alternate config file
-t, --hook-type <HOOK_TYPE>Type of hook to install
--no-allow-missing-configAssume cloned repos should have a `pre-commit` config