Updated docs

This commit is contained in:
2023-02-20 15:55:20 +01:00
parent 48d0daabf5
commit 9e28dce5ce
632 changed files with 10917 additions and 6775 deletions

View File

@@ -5,20 +5,21 @@ from cpl_core.console import Console
class CommandABC(ArgumentExecutableABC):
@abstractmethod
def __init__(self):
ABC.__init__(self)
@property
@abstractmethod
def help_message(self) -> str: pass
def help_message(self) -> str:
pass
@abstractmethod
def execute(self, args: list[str]): pass
def execute(self, args: list[str]):
pass
def run(self, args: list[str]):
if 'help' in args:
if "help" in args:
Console.write_line(self.help_message)
return