BugBlocker/lotus

Get varaibles from Lotus args to Lua

knassar702 opened this issue · 0 comments

$ cat urls.txt | lotus urls -o out.json --vars '{"SHOW_MSG":true,"EXAMPLE":"EXAMPLE_TEXT"}'
function main()
   local show_msg = Core:getVars("SHOW_MSG")
   print(show_msg)
end