2026-07-21 20:17:49 +08:00
|
|
|
mod boss_engine;
|
2025-11-29 17:31:00 +08:00
|
|
|
mod commands;
|
2026-05-16 00:59:51 +08:00
|
|
|
mod debug;
|
2025-11-29 17:31:00 +08:00
|
|
|
mod entity;
|
|
|
|
|
mod error;
|
2025-11-29 23:38:03 +08:00
|
|
|
mod template;
|
2026-04-26 20:48:26 +08:00
|
|
|
mod utils;
|
2025-11-29 17:31:00 +08:00
|
|
|
|
|
|
|
|
use crate::commands::{Cli, Commands};
|
|
|
|
|
use clap::Parser;
|
|
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
|
let cli = Cli::parse();
|
|
|
|
|
match &cli.command {
|
|
|
|
|
Commands::Release(args) => commands::release::execute(args),
|
2026-04-26 20:48:26 +08:00
|
|
|
Commands::Create(args) => commands::create::execute(args),
|
2026-05-14 22:16:18 +08:00
|
|
|
Commands::Init(args) => commands::init::execute(args),
|
2025-11-29 17:31:00 +08:00
|
|
|
Commands::Components(args) => commands::components::execute(args),
|
2026-05-16 00:59:51 +08:00
|
|
|
Commands::Debug(args) => commands::debug::execute(args),
|
2026-05-22 01:37:42 +08:00
|
|
|
Commands::Bbmodel(args) => commands::bbmodel::execute(args),
|
2026-07-21 20:17:49 +08:00
|
|
|
Commands::ForkBossEngine(args) => commands::fork_boss_engine::execute(args),
|
2025-11-29 17:31:00 +08:00
|
|
|
}
|
|
|
|
|
}
|