Files
NetBrain_MCP/.gemini/hooks/crg-update.sh
T

11 lines
355 B
Bash
Executable File

#!/usr/bin/env bash
# code-review-graph: incremental update after write/replace (Gemini CLI hook)
# Must output ONLY JSON on stdout. Low-noise: no systemMessage.
set -euo pipefail
cat > /dev/null || true
code-review-graph update --skip-flows --repo "/home/v6ole/PythonProject/NetBrain_MCP" >/dev/null 2>&1 || true
echo '{"suppressOutput": true}'
exit 0