diff --git a/src/python/jw/pkg/cmds/distro/backend/debian/Select.py b/src/python/jw/pkg/cmds/distro/backend/debian/Select.py new file mode 100644 index 00000000..4f3e740e --- /dev/null +++ b/src/python/jw/pkg/cmds/distro/backend/debian/Select.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 query_packages +from ...Cmd import Cmd +from ..BeSelect import BeSelect as Base + +class Select(Base): + + def __init__(self, parent: Cmd): + super().__init__(parent) + + async def _all_installed_packages(self) -> Iterable[Package]: + return await query_packages()