// {{ name }} - Command Execution
// Generated by ggen v2.2.0

use anyhow::Result;
use crate::cli::{Cli, Commands};

pub fn execute(cli: Cli) -> Result<()> {
    match cli.command {
        Commands::Init { name } => {
            println!("Initializing project: {}", name);
            Ok(())
        }
        Commands::Build { release } => {
            let mode = if release { "release" } else { "debug" };
            println!("Building in {} mode", mode);
            Ok(())
        }
        Commands::Run { args } => {
            println!("Running with args: {:?}", args);
            Ok(())
        }
    }
}
