jw-pkg/src/python/jw/pkg/build/Cmd.py
Jan Lindemann 1f26391452 jw.pkg.cmds.Cmd: Derive from lib.Cmd
The body of Cmd is pretty much entirely obviated by its base class.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-01-26 17:58:23 +01:00

17 lines
413 B
Python

# -*- coding: utf-8 -*-
from __future__ import annotations
from typing import Type, Union, TypeVar
import inspect, abc, argparse
from argparse import ArgumentParser
from ..lib.Cmd import Cmd as Base
class Cmd(Base): # export
def __init__(self, name: str, help: str) -> None:
super().__init__(name, help)
from ..App import App
async def run(self, args):
return self._run(args)