add arguments support
This commit is contained in:
10
args-test.lua
Normal file
10
args-test.lua
Normal 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
|
||||
Reference in New Issue
Block a user