reorganization
This commit is contained in:
12
samples/args-test.lua
Normal file
12
samples/args-test.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
-- arguments_help = "The word recorded here will be displayed on the screen."
|
||||
-- arguments_default = "Word"
|
||||
|
||||
function on_resume()
|
||||
local args = aio:get_args()
|
||||
|
||||
if args == nil then
|
||||
ui:show_text("args is empty")
|
||||
else
|
||||
ui:show_text("arg1: "..args[1])
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user