feat(cli): Support for listing all Sonarr tasks
This commit is contained in:
1 parent
c54bd2bab0
commit
22fbe025d9
3 files changed
+13
-2
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user