zenyx-engine-telemetry/engine/src/main.rs

20 lines
338 B
Rust
Raw Normal View History

use core::{repl::{handler::COMMAND_MANAGER, input::handle_repl, setup}, splash};
2024-12-01 16:02:06 -05:00
use anyhow::Ok;
2024-12-01 16:02:06 -05:00
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??;
2024-12-01 16:02:06 -05:00
Ok(())
2024-12-01 16:02:06 -05:00
}