Improved & added commands

This commit is contained in:
2022-05-19 08:25:32 +02:00
parent a495532a4d
commit 8ebd4864d3
13 changed files with 191 additions and 161 deletions

View File

@@ -1,7 +1,9 @@
from abc import abstractmethod, ABC
from cpl_core.configuration.executable_argument import ExecutableArgument
class CommandABC(ABC):
class CommandABC(ExecutableArgument):
@abstractmethod
def __init__(self):
@@ -10,6 +12,3 @@ class CommandABC(ABC):
@property
@abstractmethod
def help_message(self) -> str: pass
@abstractmethod
def run(self, args: list[str]): pass