summaryrefslogtreecommitdiff
path: root/tests/actions/addon/custom-plugin/plugins/hello_addon/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/actions/addon/custom-plugin/plugins/hello_addon/main.lua')
-rw-r--r--tests/actions/addon/custom-plugin/plugins/hello_addon/main.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/actions/addon/custom-plugin/plugins/hello_addon/main.lua b/tests/actions/addon/custom-plugin/plugins/hello_addon/main.lua
new file mode 100644
index 000000000..0cf3a0386
--- /dev/null
+++ b/tests/actions/addon/custom-plugin/plugins/hello_addon/main.lua
@@ -0,0 +1,5 @@
+import("core.base.option")
+
+function main()
+ print("hello from custom-plugin: %s", option.get("name") or "world")
+end