jw-pkg/src/python/jw/pkg/build/Cmd.py

17 lines
413 B
Python
Raw Normal View History

# -*- 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)