You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
375 B
20 lines
375 B
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) |
|
} |
|
}
|
|
|