minifly 0.1.1

Local Fly.io development simulator with incredible developer experience
Documentation
//! Proxy command implementation

use anyhow::Result;
use colored::*;
use minifly::ApiClient;

/// Handle the proxy command
pub async fn handle(client: &ApiClient, machine_id: &str, port: u16) -> Result<()> {
    if !client.health_check().await? {
        println!("{}", "❌ Minifly API server is not running".red());
        println!("Start it with: {}", "minifly serve".cyan());
        return Ok(());
    }
    
    println!("{}", format!("🔗 Proxying to machine '{}' on port {}", machine_id, port).blue().bold());
    
    println!();
    println!("{}", "💡 Proxy functionality not yet implemented in standalone CLI".yellow());
    println!("   Install the full platform for complete proxy functionality");
    
    Ok(())
}