sh_cpl/src/cpl_cli/command_abc.py

14 lines
265 B
Python
Raw Normal View History

2021-03-04 17:36:02 +01:00
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