Removed unnecessary use of clap since I'm making a TUI and not a CLI application

This commit is contained in:
2023-08-08 10:50:07 -06:00
parent dd339d1685
commit c8781ae442
2 changed files with 0 additions and 7 deletions
-6
View File
@@ -5,7 +5,6 @@ use std::sync::Arc;
use std::{io, panic};
use anyhow::Result;
use clap::Parser;
use crossterm::execute;
use crossterm::terminal::{
disable_raw_mode, enable_raw_mode, EnterAlternateScreen, LeaveAlternateScreen,
@@ -31,17 +30,12 @@ mod network;
mod ui;
mod utils;
#[derive(Parser)]
#[command(author, version, about, long_about = None)]
struct Cli {}
#[tokio::main]
async fn main() -> Result<()> {
log4rs::init_config(utils::init_logging_config())?;
panic::set_hook(Box::new(|info| {
panic_hook(info);
}));
Cli::parse();
let config = confy::load("managarr", "config")?;
let (sync_network_tx, sync_network_rx) = mpsc::channel(500);