mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-05 15:09:42 +02:00
chore: bump version to 0.1611
This commit is contained in:
+20
-10
@@ -806,18 +806,28 @@ main() {
|
||||
fi
|
||||
fi
|
||||
|
||||
# Claude CLI (warning only)
|
||||
# Claude CLI
|
||||
info "Checking Claude CLI..."
|
||||
if ! check_claude; then
|
||||
echo ""
|
||||
warn "Claude CLI is not installed!"
|
||||
echo -e " ${DIM}Claudeman requires Claude CLI to manage AI sessions.${NC}"
|
||||
echo -e " ${DIM}Install it with:${NC}"
|
||||
echo ""
|
||||
echo -e " ${CYAN}curl -fsSL https://claude.ai/install.sh | bash${NC}"
|
||||
echo ""
|
||||
echo -e " ${DIM}Or see: https://docs.anthropic.com/en/docs/claude-code${NC}"
|
||||
echo ""
|
||||
if prompt_yes_no "Claude CLI is not installed. Install it now?"; then
|
||||
info "Installing Claude CLI..."
|
||||
download_to_stdout https://claude.ai/install.sh | bash
|
||||
# Rehash to pick up new binary
|
||||
hash -r 2>/dev/null || true
|
||||
if check_claude; then
|
||||
local claude_path
|
||||
claude_path=$(get_claude_path)
|
||||
success "Claude CLI installed at $claude_path"
|
||||
else
|
||||
warn "Claude CLI installation may have failed. Install manually:"
|
||||
echo -e " ${CYAN}curl -fsSL https://claude.ai/install.sh | bash${NC}"
|
||||
fi
|
||||
else
|
||||
warn "Claude CLI is required to run AI sessions."
|
||||
echo -e " ${DIM}Install later with:${NC}"
|
||||
echo -e " ${CYAN}curl -fsSL https://claude.ai/install.sh | bash${NC}"
|
||||
echo ""
|
||||
fi
|
||||
else
|
||||
local claude_path
|
||||
claude_path=$(get_claude_path)
|
||||
|
||||
Reference in New Issue
Block a user