mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-27 03:15:08 +00:00
feat(dl): add --local to override a remote: true service config
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user