all-contributors-cli/lib/init/index.js
2016-03-21 22:40:32 +01:00

10 lines
248 B
JavaScript

'use strict';
var prompt = require('./prompt');
var configFile = require('../configFile');
module.exports = function init(cb) {
prompt(function postPrompt(result) {
configFile.writeConfig('.all-contributorsrc', result.config, cb);
});
};