blob: cb0df34d8e4e933fa58ad5dc4022ec1216926153 (
plain)
1
2
3
4
5
6
7
8
9
|
# meow
const context = env.ctx
const parsed = arg_name(context.rest, 0)
if parsed.name:len() == 0 do fail("usage: cat <path>\n") end
else do
const path = expand_path(parsed.name)
vfs:cat(path)
end
|