jw-pkg/src/python/jw/pkg/cmds/CmdDistro.py
Jan Lindemann f94a2ac037 cmds.DistroBase: Add class
Move most of CmdDistro into the new class DistroBase, meant to serve
as base class for distro-aware commands other than "distro".

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-03-06 12:06:28 +01:00

14 lines
384 B
Python

# -*- coding: utf-8 -*-
from argparse import ArgumentParser
from ..App import App
from .DistroBase import DistroBase as CmdBase
class CmdDistro(CmdBase): # export
def __init__(self, parent: App) -> None:
super().__init__(parent, 'distro', help="System package manager wrapper")
def add_arguments(self, p: ArgumentParser) -> None:
super().add_arguments(p)