Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClaudeHookEntry ¶
ClaudeHookEntry represents a single hook entry in Claude Code's settings
type Hook ¶
type Hook struct {
Type string `json:"type"` // PreToolUse, PostToolUse, Notification, Stop, UserPromptSubmit
Matcher string `json:"matcher"` // Tool matcher (e.g., "Bash", "Edit", "*")
Command string `json:"command"` // Shell command to run
Source string `json:"-"` // Which tool this hook came from (e.g., "claude")
}
Hook represents a configured hook
func LoadFromClaudeSettings ¶
LoadFromClaudeSettings loads hooks from Claude Code's settings.json
Click to show internal directories.
Click to hide internal directories.