linux-tools/modules/sample/sampleModule.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
262 B
Python

from AbstractModule import AbstractModule
class SampleModule(AbstractModule):
"""docstring for SampleModule."""
def __init__(self):
super(SampleModule, self).__init__()
def run(self):
print("Command 1")
print("Command 2")