linux-tools/AbstractModule.py
Marcel Schwarz af169b9598 Replace IModule with AbstractModule
Delete CommandRunner
Set up API to delegate the module execution to the module itself
Update SampleModule
2019-12-21 02:49:53 +01:00

13 lines
222 B
Python

from abc import ABC, abstractmethod
class AbstractModule(ABC):
"""docstring for Module."""
def __init__(self):
super(AbstractModule, self).__init__()
@abstractmethod
def run(self):
pass