cmds.distro.backend.debian.Pkg: Add module

Add Debian support for the "pkg"-command.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-03-04 09:40:14 +00:00
commit f55d3045e0

View file

@ -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)