krakenjs / generator-swaggerize

Yeoman generator for design-driven apis with swagger 2.0 and krakenjs/swaggerize tools.
Other
70 stars 34 forks source link

Use `hapi` with `--only` option #16

Closed MattiSG closed 9 years ago

MattiSG commented 9 years ago

If I use the --only option to update an existing project, I am not offered the opportunity to choose the hapi framework.

I would expect either to be presented interactively with this option, or to be able to pass an additional option.

I would favour the CLI possibility, so I can add an NPM script to update in a single command.

tlivings commented 9 years ago

Yes, right now - it assumes you are regenerating for the existing project. I guess it should default to that, but allow you to change.

tlivings commented 9 years ago

Done in generator-swaggerize@1.0.0-rc.3