diff options
| author | V3ntus <29584644+V3ntus@users.noreply.github.com> | 2025-01-03 15:23:42 +0000 |
|---|---|---|
| committer | V3ntus <29584644+V3ntus@users.noreply.github.com> | 2025-01-03 15:23:42 +0000 |
| commit | 31b260f690ebc476585bb1334dbfadef0d409b50 (patch) | |
| tree | 891fcb2ad87297b08cc00542cd6410aee7f05766 | |
| parent | ca0f696119708eaf28fba26c5cce54a5976910c4 (diff) | |
| download | tidal-dl-ng-31b260f690ebc476585bb1334dbfadef0d409b50.tar.gz | |
ref: add a `dl_fav` typer command group
This will be used for downloading from favorite collections (artists, albums, tracks, videos)
| -rw-r--r-- | tidal_dl_ng/cli.py | 6 |
1 files changed, 6 insertions, 0 deletions
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): |
