You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

42 lines
675 B

/*******************************
Install Questions
*******************************/
var defaults, fs, filter, when;
fs = require('fs');
defaults = require('../defaults');
filter = {
removeTrailingSlash: function(path) {
return path.replace(/(\/$|\\$)+/mg, '');
}
};
when = {
};
module.exports = {
docs: [
{
type: 'list',
name: 'action',
message: 'How should we provide files to docs?',
when: when.hasConfig,
choices: [
{
name: 'Watch changes',
value: 'docs-serve'
},
{
name: 'Build all files',
value: 'docs-build'
}
]
}
]
};