add arguments support

This commit is contained in:
Evgeny
2021-07-30 15:37:10 +03:00
parent c2627b3302
commit 36b7f6905a
4 changed files with 63 additions and 1 deletions

10
args-test.lua Normal file
View File

@@ -0,0 +1,10 @@
-- argumentsHelp = "The word recorded here will be displayed on the screen."
function onResume()
local args = aio:getArgs()
if args == nil then
ui:showText("args is empty")
else
ui:showText("arg1: "..args[1])
end
end