forked from kenzuya/unshackle
refactor(commands): run the prd and wvd dump commands through the upstream pyplayready and pywidevine CLIs
This commit is contained in:
@@ -3,9 +3,13 @@ import os
|
||||
from collections.abc import Callable
|
||||
from pathlib import Path
|
||||
|
||||
import click.core
|
||||
from rich_click.patch import patch as _patch_click_help
|
||||
|
||||
_CLICK_CLASSES = click.core.Command, click.core.Group
|
||||
_patch_click_help()
|
||||
# The patch also rebinds these, which makes Context.invoke refuse a command that another package built.
|
||||
click.core.Command, click.core.Group = _CLICK_CLASSES # type: ignore[misc]
|
||||
|
||||
__version__ = "7.0.0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user