bettola/assets/scripts/bin/rm.lua

4 lines
140 B
Lua

local file_to_remove = arg[1]
if not file_to_remove then return "rm: missing operand" end
return { action = "rm", target = file_to_remove }