2026-05-31 17:32:59 +02:00
|
|
|
from __future__ import annotations
|
|
|
|
|
|
2026-06-01 10:04:38 +02:00
|
|
|
from typing import TYPE_CHECKING
|
2026-05-31 17:32:59 +02:00
|
|
|
|
2026-06-01 10:04:38 +02:00
|
|
|
from ...CmdBase import CmdBase as Base
|
2026-05-31 17:32:59 +02:00
|
|
|
from ..CmdProjects import CmdProjects as Parent
|
|
|
|
|
|
2026-06-01 10:04:38 +02:00
|
|
|
if TYPE_CHECKING:
|
|
|
|
|
from argparse import ArgumentParser
|
|
|
|
|
|
|
|
|
|
class Cmd(Base): # export
|
2026-05-31 17:32:59 +02:00
|
|
|
|
|
|
|
|
def __init__(self, parent: Parent, name: str, help: str) -> None:
|
|
|
|
|
super().__init__(parent, name, help)
|
|
|
|
|
|
|
|
|
|
def add_arguments(self, parser: ArgumentParser) -> None:
|
|
|
|
|
super().add_arguments(parser)
|
2026-06-01 10:04:38 +02:00
|
|
|
|
|
|
|
|
__all__ = ['Parent', 'Cmd']
|