18 lines
425 B
Python
18 lines
425 B
Python
|
|
# -*- coding: utf-8 -*-
|
||
|
|
|
||
|
|
from __future__ import annotations
|
||
|
|
|
||
|
|
from typing import TYPE_CHECKING
|
||
|
|
|
||
|
|
from ..Cmd import Cmd as Base
|
||
|
|
|
||
|
|
if TYPE_CHECKING:
|
||
|
|
from ..CmdPosix import CmdPosix
|
||
|
|
|
||
|
|
class Cmd(Base): # export
|
||
|
|
|
||
|
|
def __init__(self, parent: CmdPosix, name: str, help: str) -> None:
|
||
|
|
super().__init__(parent, name, help)
|
||
|
|
|
||
|
|
def add_arguments(self, parser: ArgumentParser) -> None:
|
||
|
|
super().add_arguments(parser)
|