feat: Added initial Sonarr CLI support and the initial network handler setup for the TUI
This commit is contained in:
1 parent
b6f5b9d08c
commit
60d61b9e31
28 files changed
+2419
-761
No files matched your search
+2
-2
@@ -11,7 +11,7 @@ use std::{io, panic, process};
|
||||
|
||||
use anyhow::anyhow;
|
||||
use anyhow::Result;
|
||||
use app::{log_and_print_error, AppConfig, ServarrConfig};
|
||||
use app::{log_and_print_error, AppConfig};
|
||||
use clap::{
|
||||
command, crate_authors, crate_description, crate_name, crate_version, CommandFactory, Parser,
|
||||
};
|
||||
@@ -112,7 +112,7 @@ async fn main() -> Result<()> {
|
||||
|
||||
match args.command {
|
||||
Some(command) => match command {
|
||||
Command::Radarr(_) => {
|
||||
Command::Radarr(_) | Command::Sonarr(_) => {
|
||||
let app_nw = Arc::clone(&app);
|
||||
let mut network = Network::new(&app_nw, cancellation_token, reqwest_client);
|
||||
|
||||
|
||||
Reference in new issue
Block a user