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.gitnpm 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 ..