Added plugin.run() with arguments. /JL

This commit is contained in:
Jan Lerking
2025-03-27 09:35:29 +01:00
parent b5d2e1b0be
commit 34ba757bc6
4 changed files with 16 additions and 5 deletions
+5 -1
View File
@@ -16,6 +16,10 @@ if __name__ == "__main__":
"""
system = XtendRSystem()
system.attach("example_plugin") # Assuming 'example_plugin/plugin_info.json' exists
system.run("example_plugin")
system.run("example_plugin", "Hello!")
system.stop("example_plugin")
system.run("example_plugin", 25)
system.stop("example_plugin")
system.run("example_plugin", "Hello!", 25)
system.stop("example_plugin")
system.detach("example_plugin")