diff --git a/lib/init/prompt.js b/lib/init/prompt.js index 2a051fa..fd8e9d6 100644 --- a/lib/init/prompt.js +++ b/lib/init/prompt.js @@ -37,6 +37,11 @@ var questions = [{ message: "How big should the avatars be? (in px)", filter: parseInt, default: 100 +}, { + type: 'confirm', + name: 'commit', + message: "Do you want this badge to auto-commit when contributors are added?", + default: true }]; var uniqueFiles = _.flow( @@ -57,6 +62,7 @@ module.exports = function prompt(cb) { projectOwner: answers.projectOwner, files: uniqueFiles([answers.contributorFile, answers.badgeFile]), imageSize: answers.imageSize, + commit: answers.commit, contributors: [] }; return cb({