Module: commands::hook_templates
Contents
Functionshook_content- Returns the canonical content for a given hook name, orNoneif the
HOOK_TEMPLATES- Canonical hook templates:(hook_name, file_content)tuples.
resq_cli::commands::hook_templates::HOOK_TEMPLATES
Constant:&[(&str, &str)]
Canonical hook templates: (hook_name, file_content) tuples.
The hook names correspond to git hook trigger names.
resq_cli::commands::hook_templates::hook_content
Function Returns the canonical content for a given hook name, orNone if the
hook is not one of the known canonical hooks.