UNPKG

git-branch-kit

Version:
20 lines (15 loc) 479 B
#!/usr/bin/env node import { program } from 'commander'; import { checkoutCommand } from './commands/checkout.js'; import { deleteCommand } from './commands/delete.js'; function showVersion() { const versionNumner = "v1.1.1"; program .name('git-branch-kit') .description('A tools to simplify git branch operations') .version(versionNumner); } showVersion(); program.addCommand(checkoutCommand); program.addCommand(deleteCommand); program.parse(process.argv);