README
cortex-init-prompts

Prompts asked when initializing a new cortex project.
Install
npm install cortex-init-prompts --save
Usage
var prompts = require('cortex-init-prompts');
prompts(options, callback)
options
Object- licenses
Array.<String>available licenses. - skip
Objectlist of<properties>: <default-value>which should be skipped. Anddefault-valuewill the be answer of the skipped question.
- licenses
callback
function(answers)answers
Objectthe answers of user.
prompts({
license: ['MIT', 'BSD'],
skip: {
author_name: 'Swift'
}
}, function(answers){
answers.author_name; // 'Swift'
});