Files
Halyde/halyde/apps/rm.lua
T
2026-04-30 15:09:56 +00:00

1 line
228 B
Lua

local a=...local b=import("filesystem")if not a then shell.run("help rm")return end;if a:sub(1,1)~="/"then a=b.concat(shell.workingDirectory,a)end;if not b.exists(a)then print("\27[91mFile does not exist.")return end;b.remove(a)