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.
50 lines
780 B
50 lines
780 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?',
|
|
choices: [
|
|
{
|
|
name: 'Watch changes',
|
|
value: 'docs-serve'
|
|
},
|
|
{
|
|
name: 'Build all files',
|
|
value: 'docs-build'
|
|
}
|
|
]
|
|
}
|
|
],
|
|
|
|
createRepo: [
|
|
{
|
|
type: 'confirm',
|
|
name: 'allow',
|
|
message: 'Create new repo?',
|
|
default: true
|
|
}
|
|
]
|
|
|
|
};
|