feat(cli): Support for listing all Sonarr tasks

This commit is contained in:
2024-11-22 16:37:21 -07:00
parent c54bd2bab0
commit 22fbe025d9
3 changed files with 13 additions and 2 deletions
+3 -1
View File
@@ -33,7 +33,8 @@ mod tests {
"indexers",
"queued-events",
"root-folders",
"tags"
"tags",
"tasks"
)]
subcommand: &str,
) {
@@ -206,6 +207,7 @@ mod tests {
#[case(SonarrListCommand::RootFolders, SonarrEvent::GetRootFolders)]
#[case(SonarrListCommand::Series, SonarrEvent::ListSeries)]
#[case(SonarrListCommand::Tags, SonarrEvent::GetTags)]
#[case(SonarrListCommand::Tasks, SonarrEvent::GetTasks)]
#[tokio::test]
async fn test_handle_list_command(
#[case] list_command: SonarrListCommand,