This commit is contained in:
2025-02-21 21:34:10 +01:00
parent e1516e8b45
commit f21433417d
7 changed files with 41 additions and 32 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
from xtendr.xtendr import XtendR
from xtendr.xtendrsystem import XtendRSystem
if __name__ == "__main__":
"""Example usage of the PluginSystem.
@@ -14,7 +14,7 @@ if __name__ == "__main__":
>>> system.detach("example_plugin")
Detached plugin 'example_plugin'.
"""
system = XtendR()
system = XtendRSystem()
system.attach("example_plugin") # Assuming 'example_plugin/plugin_info.json' exists
system.run("example_plugin")
system.stop("example_plugin")