refactor: Removed the filtering of monitored_storage_paths from the networking module and migrated all of it to the UI
This commit is contained in:
9 files changed
+7
-285
No files matched your search
@@ -2,7 +2,6 @@ use std::sync::Arc;
|
||||
|
||||
use anyhow::Result;
|
||||
use clap::{Subcommand, arg};
|
||||
use indoc::formatdoc;
|
||||
use serde_json::json;
|
||||
use tokio::sync::Mutex;
|
||||
|
||||
@@ -60,10 +59,7 @@ pub enum LidarrListCommand {
|
||||
Artists,
|
||||
#[command(about = "List all items in the Lidarr blocklist")]
|
||||
Blocklist,
|
||||
#[command(about = formatdoc!(
|
||||
"List disk space details for all provisioned root folders in Lidarr
|
||||
(returns unfiltered response; i.e. ignores 'monitored_storage_paths' config field)")
|
||||
)]
|
||||
#[command(about = "List disk space details for all provisioned root folders in Lidarr")]
|
||||
DiskSpace,
|
||||
#[command(about = "List all active downloads in Lidarr")]
|
||||
Downloads {
|
||||
|
||||
@@ -2,7 +2,6 @@ use std::sync::Arc;
|
||||
|
||||
use anyhow::Result;
|
||||
use clap::{Subcommand, command};
|
||||
use indoc::formatdoc;
|
||||
use tokio::sync::Mutex;
|
||||
|
||||
use crate::{
|
||||
@@ -28,10 +27,7 @@ pub enum RadarrListCommand {
|
||||
#[arg(long, help = "How many downloads to fetch", default_value_t = 500)]
|
||||
count: u64,
|
||||
},
|
||||
#[command(about = formatdoc!(
|
||||
"List disk space details for all provisioned root folders in Radarr
|
||||
(returns unfiltered response; i.e. ignores 'monitored_storage_paths' config field)")
|
||||
)]
|
||||
#[command(about = "List disk space details for all provisioned root folders in Radarr")]
|
||||
DiskSpace,
|
||||
#[command(about = "Fetch all Radarr history events")]
|
||||
History {
|
||||
|
||||
@@ -2,7 +2,6 @@ use std::sync::Arc;
|
||||
|
||||
use anyhow::Result;
|
||||
use clap::Subcommand;
|
||||
use indoc::formatdoc;
|
||||
use tokio::sync::Mutex;
|
||||
|
||||
use crate::{
|
||||
@@ -26,10 +25,7 @@ pub enum SonarrListCommand {
|
||||
#[arg(long, help = "How many downloads to fetch", default_value_t = 500)]
|
||||
count: u64,
|
||||
},
|
||||
#[command(about = formatdoc!(
|
||||
"List disk space details for all provisioned root folders in Sonarr
|
||||
(returns unfiltered response; i.e. ignores 'monitored_storage_paths' config field)")
|
||||
)]
|
||||
#[command(about = "List disk space details for all provisioned root folders in Sonarr")]
|
||||
DiskSpace,
|
||||
#[command(about = "List the episodes for the series with the given ID")]
|
||||
Episodes {
|
||||
|
||||
Reference in new issue
Block a user