Improved commands
This commit is contained in:
13
src/cpl_cli/command_abc.py
Normal file
13
src/cpl_cli/command_abc.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from abc import abstractmethod
|
||||
|
||||
from cpl.dependency_injection.service_abc import ServiceABC
|
||||
|
||||
|
||||
class CommandABC(ServiceABC):
|
||||
|
||||
@abstractmethod
|
||||
def __init__(self):
|
||||
ServiceABC.__init__(self)
|
||||
|
||||
@abstractmethod
|
||||
def run(self, args: list[str]): pass
|
||||
Reference in New Issue
Block a user