refactor(commands): run the prd and wvd dump commands through the upstream pyplayready and pywidevine CLIs

This commit is contained in:
imSp4rky
2026-11-29 12:03:52 -07:00
parent 9eba810481
commit 975d3a106d
6 changed files with 265 additions and 253 deletions
+4
View File
@@ -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"