Comparing version 0.34.0 to 0.35.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.fetch = void 0; | ||
const child_process_1 = require("child_process"); | ||
const terminal_1 = require("../../utils/terminal"); | ||
function fetch() { | ||
(0, child_process_1.execSync)(`git fetch -p`); | ||
(0, child_process_1.execSync)(`git branch -vv | grep "gone" | awk '{print $1}' | xargs git branch -D`); | ||
(0, terminal_1.terminal)(`git fetch -p`); | ||
(0, terminal_1.terminal)(`git branch -vv | grep "gone" | awk '{print $1}' | xargs git branch -D`); | ||
console.log(); | ||
console.log("# Current Branches"); | ||
console.log((0, child_process_1.execSync)(`git branch`).toString()); | ||
console.log((0, terminal_1.terminal)(`git branch`)); | ||
} | ||
exports.fetch = fetch; | ||
//# sourceMappingURL=index.js.map |
@@ -10,2 +10,3 @@ #!/usr/bin/env node | ||
const checkout_1 = require("./commands/checkout"); | ||
const commit_1 = require("./commands/commit"); | ||
const program = new commander_1.Command("gitk"); | ||
@@ -33,3 +34,8 @@ program.version((0, getCurrentVersion_1.getCurrentVersion)()); | ||
.action(checkout_1.checkout); | ||
program | ||
.command("commit") | ||
.requiredOption("-m, --message <type>", "์ปค๋ฐ ์ ๋ชฉ") | ||
.description("์ง๋ผ ํ๊ทธ๋ฅผ ์๋์ผ๋ก ๋ถํ์ฃผ๋ git commit์ ํฉ๋๋ค.") | ||
.action(commit_1.commit); | ||
program.parse(); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "gitk", | ||
"version": "0.34.0", | ||
"version": "0.35.0", | ||
"description": "๐ง Git Shortcut Cli Application", | ||
@@ -5,0 +5,0 @@ "author": "rhea-so", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2
3
12661
26
171