12 lines
378 B
JSON
12 lines
378 B
JSON
{
|
|
"version": 1,
|
|
"hooks": {
|
|
"postToolUse": [
|
|
{
|
|
"command": "$d = Join-Path (Get-Location) '.cursor/skills/impeccable/scripts'; $c = Join-Path $d 'impeccable.cmd'; $x = Join-Path $d 'bin/windows-x64/impeccable.exe'; if (Test-Path $c) { & $c hook } elseif (Test-Path $x) { & $x hook }",
|
|
"matcher": "^Write$",
|
|
"timeout": 5
|
|
}
|
|
]
|
|
}
|
|
} |