mirror of
https://github.com/Ale32bit/Capy64.git
synced 2025-12-18 12:05:45 +00:00
10 lines
No EOL
180 B
Lua
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) |