feat(dl): add --local to override a remote: true service config

This commit is contained in:
imSp4rky
2026-10-19 14:25:03 -06:00
parent 3aaf9c4107
commit ef75ea7d7a
6 changed files with 11 additions and 9 deletions
+2 -3
View File
@@ -1218,11 +1218,10 @@ class dl:
help="With -r HYBRID, make Dolby Vision from the HDR10+ metadata when a title has no Dolby Vision track.",
)
@click.option(
"--remote",
is_flag=True,
"--remote/--local",
default=False,
is_eager=True,
help="Use a remote unshackle server instead of local service code.",
help="Use a remote unshackle server instead of local service code. --local overrides a remote: true config.",
)
@click.option(
"--server",
+2 -3
View File
@@ -40,11 +40,10 @@ from unshackle.core.utils.redact import mask_proxy
)
@click.option("--no-proxy", is_flag=True, default=False, help="Force disable all proxy use.")
@click.option(
"--remote",
is_flag=True,
"--remote/--local",
default=False,
is_eager=True,
help="Search on a remote unshackle server instead of with local service code.",
help="Search on a remote unshackle server instead of with local service code. --local overrides a remote: true config.",
)
@click.option(
"--server",