git-branch-kit
Version:
A tools to simplify git branch operations
20 lines (15 loc) • 479 B
JavaScript
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);