#!/bin/bash
# Test script to demonstrate enhanced CLI help system

echo "===== mcp-memory CLI Help System Demo ====="
echo ""

echo "1. Main help with categories and colors:"
echo "   $ mcp-memory"
echo ""
node dist/cli/index.js
echo ""
echo "---"
echo ""

echo "2. Command-specific help with examples:"
echo "   $ mcp-memory export-vcard --help"
echo ""
node dist/cli/index.js export-vcard --help
echo ""
echo "---"
echo ""

echo "3. Unknown command with suggestion (typo):"
echo "   $ mcp-memory instal"
echo ""
node dist/cli/index.js instal 2>&1 || true
echo ""
echo "---"
echo ""

echo "4. Close match suggestion:"
echo "   $ mcp-memory config-desktop"
echo ""
node dist/cli/index.js config-desktop 2>&1 || true
echo ""
echo "---"
echo ""

echo "5. Colored list-types output:"
echo "   $ mcp-memory list-types"
echo ""
node dist/cli/index.js list-types
echo ""
echo "===== Demo Complete ====="
