mirror of
https://github.com/harivansh-afk/veet-code.git
synced 2026-04-17 20:05:10 +00:00
update to allow claude command access
This commit is contained in:
parent
b3fbb0faff
commit
05d86562ee
7 changed files with 122 additions and 14 deletions
19
install.sh
19
install.sh
|
|
@ -3,6 +3,7 @@ set -e
|
|||
|
||||
REPO="harivansh-afk/veet-code"
|
||||
INSTALL_DIR="$HOME/.veetcode"
|
||||
CLAUDE_COMMANDS="$HOME/.claude/commands"
|
||||
|
||||
echo "Installing veetcode..."
|
||||
|
||||
|
|
@ -25,15 +26,27 @@ fi
|
|||
cd "$INSTALL_DIR"
|
||||
uv sync
|
||||
|
||||
# Create symlink
|
||||
# Create symlink for CLI
|
||||
mkdir -p "$HOME/.local/bin"
|
||||
ln -sf "$INSTALL_DIR/veet" "$HOME/.local/bin/veet"
|
||||
|
||||
# Install Claude slash commands
|
||||
if [ -d "$HOME/.claude" ]; then
|
||||
echo "Installing Claude slash commands..."
|
||||
mkdir -p "$CLAUDE_COMMANDS"
|
||||
for cmd in "$INSTALL_DIR/.claude/commands"/veet-*.md; do
|
||||
ln -sf "$cmd" "$CLAUDE_COMMANDS/$(basename "$cmd")"
|
||||
done
|
||||
echo " ✓ /veet-generate, /veet-hint, /veet-explain, /veet-add-tests"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "✓ veetcode installed!"
|
||||
echo ""
|
||||
echo "Run: veet"
|
||||
echo "Commands:"
|
||||
echo " veet Launch TUI"
|
||||
echo " veet list List problems"
|
||||
echo " /veet-generate Generate problem (in Claude)"
|
||||
echo ""
|
||||
echo "Make sure ~/.local/bin is in your PATH:"
|
||||
echo ' export PATH="$HOME/.local/bin:$PATH"'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue