mirror of
https://github.com/cline/cline.git
synced 2026-09-19 02:05:44 +08:00
20 lines
369 B
Bash
Executable File
20 lines
369 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
echo "TaskResume running inside local cline/.clinerules/hooks/ directory"
|
|
|
|
input=$(cat)
|
|
echo $input | jq .
|
|
|
|
for i in {1..5}; do
|
|
sleep 1
|
|
echo "$i"
|
|
done
|
|
|
|
cat <<EOF
|
|
{
|
|
"cancel": false,
|
|
"contextModification": "TaskResume response from the local cline/.clinerules/hooks/ directory.",
|
|
"errorMessage": "TaskResume hook custom errorMessage"
|
|
}
|
|
EOF
|