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
-1
View File
@@ -16,7 +16,6 @@ anyhow = "1.0.68"
backtrace = "0.3.67"
bimap = "0.6.3"
chrono = { version = "0.4", features = ["serde"] }
clap = { version = "4.0.30", features = ["help", "usage", "error-context", "derive"] }
confy = { version = "0.5.1", default_features = false, features = ["yaml_conf"] }
crossterm = "0.26.1"
derivative = "2.2.0"
-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);