//! Rustelo Tools CLI Binary
//!
//! Unified command-line interface for Rustelo development tools.

#[cfg(feature = "cli")]
use anyhow::Result;

#[cfg(feature = "cli")]
fn main() -> Result<()> {
    // Initialize logging
    if let Ok(_) = std::env::var("RUST_LOG") {
        env_logger::init();
    }

    println!("🛠️  Rustelo Tools");
    println!("   Comprehensive development toolkit for Rustelo framework\n");

    // Run the CLI
    rustelo_tools::cli_enhanced::commands::run_cli()
}

#[cfg(not(feature = "cli"))]
fn main() {
    eprintln!("❌ CLI features not enabled!");
    eprintln!("   Compile with: cargo build --features cli");
    std::process::exit(1);
}
