Claude.Hooks.Hook (claude v0.1.0)

Struct representing a Claude Code hook configuration.

This struct is automatically encoded to JSON for the settings.json file.

Summary

Functions

Creates a new hook configuration.

Types

t()

@type t() :: %Claude.Hooks.Hook{
  command: String.t(),
  matcher: String.t(),
  type: String.t()
}

Functions

new(attrs)

Creates a new hook configuration.