Sat, 14 Nov 2020 15:42:10 +0100
clix.raw: Give access to the verse pubsub module
It has a pretty decent API, common operations are simple enough to use
in clix, but things involving callbacks is messy.
local commands = { "send"; "sendfilecontent"; "receive"; "version"; "ping"; "bounce"; "mirror"; "raw"; "roster"; "export"; "vcard"; "publish_atom"; "sendfile"; "archive"; "presence"; } for _, cmd in ipairs(commands) do Module("clix."..cmd)("clix/"..cmd..".lua") end if GetOption "with-verse" then Module("verse")(GetOption "with-verse"); end Main "clix.lua" Option "executable" Output "clix.bin"