Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 13 additions & 12 deletions .gitgo
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"current_issue": {
"number": "53",

"number": "22",
"labels": [
"cli",
"enhancement"
],
"title": "Empty specific attributes from .gitgo before pushing it on github"
"title": "Emoji top 3 recommendations"
},
"commit_guidelines": [
"cli:",
"general:"
"fix #"
],
"custom_guidelines": true,
"selected_commit_type": "🚀 Improving dev tools",
"custom_guidelines": false,
"selected_commit_type": "✨ Adding a new user-facing feature",
"emojis": {
"initial_commit": "tada",
"feature": "sparkles",
Expand All @@ -31,13 +31,14 @@
"wip": "construction"
},
"existing_branches": [
"command-summary-instructions",
"main"

"Empty-attributes-github",
"main",
"test-commit-gen"
],
"current_branch": [
"Empty-attributes-github"
"Emoji-recommendations"
],
"current_commit_message": "🚀 cli: Empty specific attributes from .gitgo before pushing it on github",
"use_emojis": true,
"commit_config": false
"current_commit_message": "✨ fix #22 Emoji top 3 recommendations",
"use_emojis": true
}
16 changes: 10 additions & 6 deletions bin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@ const {
} = require("../lib/inquirer.js");
const simpleGit = require("simple-git");
const git = simpleGit();
const { jsonReader } = require("../lib/funcs/jsonReader.js");
const {
jsonReader
} = require("../lib/funcs/jsonReader.js");
const version = require("../package.json");
const chalk = require("chalk");
const { exec } = require("child_process");
const {
exec
} = require("child_process");
const fs = require("fs");

clear();
Expand Down Expand Up @@ -235,9 +239,9 @@ program
);
console.log(
"You just need to know 5 simple commands you and then you're " +
chalk.bold.cyan("gtg") +
": " +
chalk.magenta("Good to Go")
chalk.bold.cyan("gtg") +
": " +
chalk.magenta("Good to Go")
);
console.log(chalk.green("\ngtg config:\n"));
console.log(
Expand All @@ -261,4 +265,4 @@ program
);
});

program.parse(process.argv);
program.parse(process.argv);
2 changes: 1 addition & 1 deletion lib/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ module.exports = {
// gets the whole directory list
return fs.existsSync(filePath);
},
};
};
Loading