blob: 408772c49fdc84a4a689d4344919e7f63879d7e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/usr/bin/env bun
import { lsCmd, lsMetaOption } from "../shared/listing.js";
import { defineCommand, runAsMain } from "../shared/command.js";
export async function dirCmd(args) {
return lsCmd(["-C", "--quoting-style=escape", ...args]);
}
const singleCall = defineCommand("dir", dirCmd, lsMetaOption);
export default singleCall;
if (import.meta.main) await runAsMain(singleCall);
|