Merge pull request #28 from SteelDynamite/gitbutler-hooks

add hooks
This commit is contained in:
SteelDynamite 2026-04-05 06:14:12 -07:00 committed by GitHub
commit f8ebd2ce9e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

37
.claude/settings.json Normal file
View file

@ -0,0 +1,37 @@
{
"hooks": {
"PreToolUse": [
{
"matcher": "Edit|MultiEdit|Write",
"hooks": [
{
"type": "command",
"command": "but claude pre-tool"
}
]
}
],
"PostToolUse": [
{
"matcher": "Edit|MultiEdit|Write",
"hooks": [
{
"type": "command",
"command": "but claude post-tool"
}
]
}
],
"Stop": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "but claude stop"
}
]
}
]
}
}