fix(installer): Display colors correctly in all echo statements

- Added -e flag to all echo commands using color variables
- Fixes raw ANSI escape codes showing instead of colored text
- Improves user experience during installation
- Affects menu options, next steps, and documentation links
This commit is contained in:
Reza Rezvani
2025-11-12 12:13:07 +01:00
parent d5da9aeedb
commit 5ad6a1e0a7
+8 -8
View File
@@ -84,8 +84,8 @@ fi
echo "" echo ""
print_info "Where would you like to install ClaudeForge?" print_info "Where would you like to install ClaudeForge?"
echo "" echo ""
echo " ${GREEN}1)${NC} User-level (~/.claude/) - Available in all Claude Code projects" echo -e " ${GREEN}1)${NC} User-level (~/.claude/) - Available in all Claude Code projects"
echo " ${GREEN}2)${NC} Project-level (./.claude/) - Available only in current project" echo -e " ${GREEN}2)${NC} Project-level (./.claude/) - Available only in current project"
echo "" echo ""
while true; do while true; do
@@ -196,13 +196,13 @@ echo ""
# Next steps # Next steps
print_info "Next steps:" print_info "Next steps:"
echo "" echo ""
echo " ${GREEN}1.${NC} Restart Claude Code (important!)" echo -e " ${GREEN}1.${NC} Restart Claude Code (important!)"
echo " ${GREEN}2.${NC} Navigate to your project directory" echo -e " ${GREEN}2.${NC} Navigate to your project directory"
echo " ${GREEN}3.${NC} Run the command:" echo -e " ${GREEN}3.${NC} Run the command:"
echo "" echo ""
echo " ${BLUE}/enhance-claude-md${NC}" echo -e " ${BLUE}/enhance-claude-md${NC}"
echo "" echo ""
echo " ${GREEN}4.${NC} Follow the interactive prompts" echo -e " ${GREEN}4.${NC} Follow the interactive prompts"
echo "" echo ""
# Additional information # Additional information
@@ -213,7 +213,7 @@ echo " • Installation: docs/INSTALLATION.md"
echo " • Architecture: docs/ARCHITECTURE.md" echo " • Architecture: docs/ARCHITECTURE.md"
echo " • Troubleshooting: docs/TROUBLESHOOTING.md" echo " • Troubleshooting: docs/TROUBLESHOOTING.md"
echo "" echo ""
echo " • GitHub: ${BLUE}https://github.com/alirezarezvani/ClaudeForge${NC}" echo -e " • GitHub: ${BLUE}https://github.com/alirezarezvani/ClaudeForge${NC}"
echo "" echo ""
# Uninstall instructions # Uninstall instructions