therepo/packages/conventional/src/bin/main.ts
M. George Hansen 5f519f54f2
feat(@websnacksjs/conventional): initial implementation
`@websnacksjs/conventional` is a cli program which can be used with
`husky` & git hooks to enforce that commit messages adhere to the
conventional commits standard.
2025-08-19 18:31:34 +12:00

10 lines
206 B
TypeScript

const [command = ""] = process.argv.splice(2, 1);
switch (command) {
case "commit-msg": {
await import("./commit-msg.js");
break;
}
default: {
console.error(`⛔ unknown command ${command}`);
}
}