mirror of
https://github.com/anthropics/claude-plugins-official.git
synced 2026-03-17 10:33:08 +00:00
add(plugin): autofix-bot — DeepSource automated code review
Adapted from PR #23 by @jai-deepsource (DeepSource). Original: https://github.com/anthropics/claude-plugins-official/pull/23
This commit is contained in:
15
external_plugins/autofix-bot/scripts/check-autofix.sh
Executable file
15
external_plugins/autofix-bot/scripts/check-autofix.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
if ! command -v autofix &> /dev/null; then
|
||||
echo "Autofix Bot CLI not found. Installing..."
|
||||
curl -fsSL https://autofix.bot/install | sh
|
||||
|
||||
if ! command -v autofix &> /dev/null; then
|
||||
echo "ERROR: Failed to install autofix. Please install manually:" >&2
|
||||
echo " curl -fsSL https://autofix.bot/install | sh" >&2
|
||||
exit 2
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "Autofix Bot ready"
|
||||
exit 0
|
||||
Reference in New Issue
Block a user