From 31b260f690ebc476585bb1334dbfadef0d409b50 Mon Sep 17 00:00:00 2001 From: V3ntus <29584644+V3ntus@users.noreply.github.com> Date: Fri, 3 Jan 2025 15:23:42 +0000 Subject: [PATCH] ref: add a `dl_fav` typer command group This will be used for downloading from favorite collections (artists, albums, tracks, videos) --- tidal_dl_ng/cli.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tidal_dl_ng/cli.py b/tidal_dl_ng/cli.py index 4c33dcf..92e36cf 100644 --- a/tidal_dl_ng/cli.py +++ b/tidal_dl_ng/cli.py @@ -23,6 +23,12 @@ from tidal_dl_ng.helper.wrapper import LoggerWrapped from tidal_dl_ng.model.cfg import HelpSettings app = typer.Typer(context_settings={"help_option_names": ["-h", "--help"]}, add_completion=False) +dl_fav_group = typer.Typer( + context_settings={"help_option_names": ["-h", "--help"]}, + add_completion=True, + help="Download from a favorites collection.", +) +app.add_typer(dl_fav_group, name="dl_fav") def version_callback(value: bool):