feat(cli): add config management and enhanced command options

- Introduce `config` command for config file management
- Add global options for Sonarr URL and API key
- Implement `--monitored` filter for listing series
- Add default TUI startup behavior
This commit is contained in:
uttarayan21
2025-10-08 15:44:36 +05:30
parent 160ca86da5
commit 1be1e19c43
4 changed files with 795 additions and 49 deletions

View File

@@ -9,7 +9,7 @@ name = "yarr"
path = "src/main.rs"
[dependencies]
clap = { version = "4.5", features = ["derive"] }
clap = { version = "4.5", features = ["derive", "env"] }
clap_complete = "4.5"
error-stack = "0.5"
thiserror = "2.0"
@@ -33,3 +33,8 @@ chrono = { version = "0.4", features = ["serde"] }
futures = "0.3"
urlencoding = "2.1.3"
serde_path_to_error = "0.1.20"
# Configuration
config = "0.14"
toml = "0.8"
dirs = "5.0"