1 2 3 4 5 6
# list a directory const context = env.ctx const target = if (context.argv:len() > 1) expand_path(context.argv[1]) else wd.path vfs:ls(target)