Capy64/Capy64/Assets/Lua/bin/rm.lua
Alessandro Proto ad2166831b Added paste event.
Added proper shell
Added shell commands
2023-01-15 16:44:42 +01:00

10 lines
No EOL
180 B
Lua

local fs = require("fs")
local args = {...}
if #args == 0 then
print("Usage: rm <file>")
return
end
local file = fs.combine(shell.getDir(), args[1])
fs.delete(file, true)