mirror of
https://github.com/Ale32bit/Capy64.git
synced 2025-12-14 01:55:46 +00:00
10 lines
170 B
Lua
10 lines
170 B
Lua
local fs = require("fs")
|
|
|
|
local args = { ... }
|
|
if #args == 0 then
|
|
print("Usage: rm <file>")
|
|
return
|
|
end
|
|
|
|
local file = shell.resolve(args[1])
|
|
fs.delete(file, true)
|