🛠️ Fixed cfg cli command. Was broken after refactoring. Fixes #5.
This commit is contained in:
+1
-1
@@ -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,
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user