aboutsummaryrefslogtreecommitdiff
path: root/src/commands/ls.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/ls.js')
-rw-r--r--src/commands/ls.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/commands/ls.js b/src/commands/ls.js
new file mode 100644
index 0000000..38c944e
--- /dev/null
+++ b/src/commands/ls.js
@@ -0,0 +1,9 @@
+#!/usr/bin/env bun
+
+import { lsCmd, lsMetaOption } from "../shared/listing.js";
+import { defineCommand, runAsMain } from "../shared/command.js";
+
+const singleCall = defineCommand("ls", lsCmd, lsMetaOption);
+export default singleCall;
+
+if (import.meta.main) await runAsMain(singleCall);