Skip to content

Commit dc4f2a0

Browse files
committed
feat: Add command
1 parent b9978ff commit dc4f2a0

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/index.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
1-
console.log("Hello via Bun!");
1+
import { Command } from "commander";
2+
import packageJson from "../package.json" with { type: "json" };
3+
4+
const program = new Command();
5+
6+
program
7+
.name("TODO")
8+
.version(packageJson.version)
9+
.action(() => {
10+
console.log("hello world");
11+
});
12+
13+
program.parse(process.argv);

0 commit comments

Comments
 (0)