brot/main.lua
function love.load(args) local cmd = "viewer" if not love.filesystem.isFused() and args[1] == '-r' then cmd = args[2] end local path = "cmd/"..cmd..".lua" local fn = assert( loadstring(assert(love.filesystem.read(path)), "@"..path)) return fn(unpack(args, 3)) end