gruntjs / grunt-init

Generate project scaffolding from a template.
http://gruntjs.com/project-scaffolding
MIT License
194 stars 59 forks source link

--yes forces default answers #62

Closed purge closed 10 years ago

purge commented 11 years ago

See gruntjs/grunt-init#61

shama commented 11 years ago

Thanks for the PR. LGTM although I think we should use a different option name instead of --yes. --force makes sense to me and @vladikoff and seems more consistent in grunt. Any opinion on this @cowboy @tkellen?

Also some nit picks, @purge could you update the variable names to match the style of the rest, forceYes instead of force_yes and add a space between the if() -> if (). Thanks!

sindresorhus commented 10 years ago

How about -d, --default

shama commented 10 years ago

:hammer: sold, --default it is. Thanks!