Files
XtendR/test_plugin/example_plugin.py
T
2025-02-21 17:08:46 +01:00

18 lines
396 B
Python

from xtendr import XtendRBase
class ExamplePlugin(XtendRBase):
"""Example plugin implementation.
Example:
>>> plugin = ExamplePlugin()
>>> plugin.run()
ExamplePlugin is running!
>>> plugin.stop()
ExamplePlugin has stopped!
"""
def run(self):
print("ExamplePlugin is running!")
def stop(self):
print("ExamplePlugin has stopped!")