🛠️ Fixed cfg cli command. Was broken after refactoring. Fixes #5.

This commit is contained in:
Robert Honz
2024-01-10 20:39:01 +01:00
parent 042495d20a
commit fadf6cc2c6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ def callback_app(
@app.command(name="cfg") @app.command(name="cfg")
def settings_management( def settings_management(
names: list[str] = None, names: Annotated[Optional[list[str]], typer.Argument()] = None,
editor: Annotated[ editor: Annotated[
bool, typer.Option("--editor", "-e", help="Open the settings file in your default editor.") bool, typer.Option("--editor", "-e", help="Open the settings file in your default editor.")
] = False, ] = False,
+1 -1
View File
@@ -17,7 +17,7 @@ class Settings:
video_download: bool = True video_download: bool = True
multi_thread: bool = False multi_thread: bool = False
download_delay: bool = True download_delay: bool = True
download_base_path: str = "./download/" download_base_path: str = "./download"
quality_audio: Quality = Quality.low_320k quality_audio: Quality = Quality.low_320k
quality_video: QualityVideo = QualityVideo.P480 quality_video: QualityVideo = QualityVideo.P480
use_playlist_folder: bool = True use_playlist_folder: bool = True