zenyx-engine/engine/src/main.rs
2025-04-19 21:01:29 +02:00

19 lines
338 B
Rust

use core::{repl::{handler::COMMAND_MANAGER, input::handle_repl, setup}, splash};
use anyhow::Ok;
pub mod core;
#[tokio::main]
async fn main() -> anyhow::Result<()> {
setup();
splash::print_splash();
COMMAND_MANAGER.read().execute("help", None)?;
let t = tokio::spawn(handle_repl());
t.await??;
Ok(())
}