> ## Documentation Index
> Fetch the complete documentation index at: https://resq-dependabot-github-actions-github-actions-478e18be3d.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Hook templates

**resq\_cli > commands > hook\_templates**

# Module: commands::hook\_templates

## Contents

**Functions**

* [`hook_content`](#hook_content) - Returns the canonical content for a given hook name, or `None` if the

**Constants**

* [`HOOK_TEMPLATES`](#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, or `None` if the
hook is not one of the known canonical hooks.

```rust theme={null}
fn hook_content(name: &str) -> Option<&'static str>
```
