mod argparse; mod tui; #[macro_use] extern crate async_trait; use argparse::{process_cmd, Args}; use std::process; use structopt::StructOpt; use u_lib::utils::init_env; #[tokio::main] async fn main() { init_env(); let args: Args = Args::from_args(); if let Err(e) = process_cmd(args).await { eprintln!("Error: {}", e); process::exit(1) } }