use lcode::{cli::run, panic_hook::init_panic_hook};
use lcode_config::global::G_USER_CONFIG;
fn main() {
init_panic_hook();
_ = &G_USER_CONFIG.config;
let runtime = tokio::runtime::Builder::new_multi_thread()
.worker_threads(5) .enable_all()
.build()
.expect("Failed building the Runtime");
runtime
.block_on(run())
.expect("main block_on failed");
}