2025-11-15 14:41:07 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
|
|
from __future__ import annotations
|
|
|
|
|
from typing import Type, Union, TypeVar
|
|
|
|
|
import inspect, abc, argparse
|
|
|
|
|
from argparse import ArgumentParser
|
|
|
|
|
|
2026-01-21 14:29:10 +01:00
|
|
|
from ..lib.Cmd import Cmd as Base
|
|
|
|
|
|
|
|
|
|
class Cmd(Base): # export
|
2025-11-15 14:41:07 +01:00
|
|
|
|
|
|
|
|
def __init__(self, name: str, help: str) -> None:
|
2026-01-21 14:29:10 +01:00
|
|
|
super().__init__(name, help)
|
2025-11-26 17:48:01 +01:00
|
|
|
from ..App import App
|
2025-11-15 14:41:07 +01:00
|
|
|
|
2026-01-21 14:29:10 +01:00
|
|
|
async def run(self, args):
|
2025-11-15 14:41:07 +01:00
|
|
|
return self._run(args)
|