1
1
mirror of https://git.shadowkat.net/izaya/OC-PsychOS2.git synced 2024-11-29 22:21:26 -05:00
OC-PsychOS2/exec/ls.lua

11 lines
160 B
Lua
Raw Normal View History

2019-01-08 02:09:04 -05:00
local tA = {...}
tA[1] = tA[1] or "."
for _,d in ipairs(tA) do
if #tA > 1 then
print(d..":")
end
for _,f in ipairs(fs.list(d)) do
print(" "..f)
end
end