silent-yeoman
v0.0.6
Published
In continuous integration context, a silent yeoman(syo) is preferred than an interactive one
Downloads
6
Readme
silent-yeoman
This package is targetted at yeoman generator developers and you must have your generator source code checked out.
Obtain it
npm install silent-yeoman -g
Develop it
git clone http://github.com/chfw/silient-yeoman.git
npm install . -g
Usage
Suppose your generator had this prompt:
var prompts = [
{
type: 'input',
name: 'yourPromptName',
message: 'Can this option be silent?',
default: 'yes'
}
...
]
Here the command line to launch your generator in one line:
syo path_to_your_generator -yourPromptName yes ..