sql-cli 1.73.1

SQL query tool for CSV/JSON with both interactive TUI and non-interactive CLI modes - perfect for exploration and automation
Documentation
use sql_cli::enhanced_tui::EnhancedTuiApp;

fn main() {
    println!("Testing parser error detection in status line:");
    println!();
    println!("The status line will show real-time parser errors:");
    println!();
    println!("Examples of errors that will be shown:");
    println!("  ⚠️  Missing 1 )     - When you have: WHERE (Country.Contains('test')");
    println!("  ⚠️  Missing 2 )     - When you have: WHERE ((Country = 'US'");
    println!("  ⚠️  Extra )         - When you have: WHERE Country = 'US'))");
    println!("  ⚠️  Unclosed string - When you have: WHERE Country = 'US");
    println!();
    println!("The error indicator will appear in RED with a blinking warning icon.");
    println!("This gives immediate feedback without needing to press F5.");
    println!();
    println!("Test it by typing:");
    println!("1. SELECT * FROM table WHERE (Country = 'US'");
    println!("   -> Should show: ⚠️  Missing 1 )");
    println!();
    println!("2. SELECT * FROM table WHERE Country = 'US");
    println!("   -> Should show: ⚠️  Unclosed string");
    println!();
    println!("3. SELECT * FROM table WHERE Country = 'US'))");
    println!("   -> Should show: ⚠️  Extra )");
}