summaryrefslogtreecommitdiff
path: root/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/index.ts b/src/index.ts
new file mode 100644
index 0000000..3a6b348
--- /dev/null
+++ b/src/index.ts
@@ -0,0 +1,11 @@
+#!/usr/bin/env node
+import { Command } from "commander";
+import { check } from "./commands/check.js";
+import { config } from "./commands/config.js";
+
+const program = new Command();
+
+check(program);
+config(program);
+
+program.parse(process.argv);