feat: Added config option to filter for specific disk space paths to display in the UI (CLI is unaffected)

This commit is contained in:
2026-01-22 10:49:30 -07:00
parent 5f3123cd79
commit 3be7b09da8
12 changed files with 378 additions and 10 deletions
+5 -1
View File
@@ -2,6 +2,7 @@ use std::sync::Arc;
use anyhow::Result;
use clap::Subcommand;
use indoc::formatdoc;
use tokio::sync::Mutex;
use crate::{
@@ -25,7 +26,10 @@ pub enum SonarrListCommand {
#[arg(long, help = "How many downloads to fetch", default_value_t = 500)]
count: u64,
},
#[command(about = "List disk space details for all provisioned root folders in Sonarr")]
#[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)")
)]
DiskSpace,
#[command(about = "List the episodes for the series with the given ID")]
Episodes {