1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
mod cli; mod commands; mod core; mod services; //mod utils; use clap::Parser; use cli::{Cli, Commands}; use commands::*; fn main() { let cli = Cli::parse(); match cli.command { Commands::NewProject { name } => new_project::handle(name), /*Commands::NewModel { name } => new_model::handle(name), Commands::Train { model } => train::handle(model), Commands::Build { model } => build::handle(model), Commands::Predict { model, data } => predict::handle(model, data),*/ } }