diff --git a/src/python/jw/pkg/cmds/distro/backend/debian/Pkg.py b/src/python/jw/pkg/cmds/distro/backend/debian/Pkg.py new file mode 100644 index 00000000..15adb991 --- /dev/null +++ b/src/python/jw/pkg/cmds/distro/backend/debian/Pkg.py @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- + +from typing import Iterable +from argparse import Namespace + +from ...lib.Package import Package +from ...lib.dpkg import list_files +from ...Cmd import Cmd +from ..BePkg import BePkg as Base + +class Pkg(Base): + + def __init__(self, parent: Cmd): + super().__init__(parent) + + async def _list_files(self, name: str) -> Iterable[Package]: + return await list_files(name)