From fadf6cc2c678b89103817cb5b4f9d4ef152b39ae Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Wed, 10 Jan 2024 20:39:01 +0100 Subject: 🛠️ Fixed `cfg` cli command. Was broken after refactoring. Fixes #5. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tidal_dl_ng/cli.py') diff --git a/tidal_dl_ng/cli.py b/tidal_dl_ng/cli.py index c021d86..dfc6422 100644 --- a/tidal_dl_ng/cli.py +++ b/tidal_dl_ng/cli.py @@ -37,7 +37,7 @@ def callback_app( @app.command(name="cfg") def settings_management( - names: list[str] = None, + names: Annotated[Optional[list[str]], typer.Argument()] = None, editor: Annotated[ bool, typer.Option("--editor", "-e", help="Open the settings file in your default editor.") ] = False, -- cgit v1.3.1