git-mikado/src/git-mikado.js

12 lines
579 B
JavaScript

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var yargs_1 = __importDefault(require("yargs"));
var new_branch_1 = __importDefault(require("./commands/new_branch"));
yargs_1.default(process.argv.slice(2))
.command('new [branch_name]', 'create new mikado branch', function (yargs) {
yargs.positional('branch_name', { describe: 'name of the new branch', required: true });
}, new_branch_1.default).argv;