feat: 'search' command no longer requires 'title' param

This commit is contained in:
2026-03-31 05:44:50 +02:00
parent a3e5c17d9b
commit 1b83b5933d
2 changed files with 37 additions and 17 deletions
+2 -2
View File
@@ -108,8 +108,8 @@ def fetch(
def search(
*,
title: Annotated[
str, cyclopts.Parameter(name=["--title", "-t"], help="Track title.")
],
str | None, cyclopts.Parameter(name=["--title", "-t"], help="Track title.")
] = None,
artist: Annotated[
str | None, cyclopts.Parameter(name=["--artist", "-a"], help="Artist name.")
] = None,