yeoman / generator-angular

Yeoman generator for AngularJS
http://yeoman.io
5.73k stars 1.44k forks source link

Simple format #23

Closed sindresorhus closed 11 years ago

sindresorhus commented 11 years ago

The new generator API has a simple format. I think some of the subgenerators could make use of it to simplify.

No docs for it currently: https://github.com/yeoman/generator/issues/152

btford commented 11 years ago

The link 404s. Is this still something I can do? I'd rather refactor this earlier rather than later.

sindresorhus commented 11 years ago

fixed the link

btford commented 11 years ago

This is awesome.

btford commented 11 years ago

Upon further consideration, most of my generators use an extended Generator.Base. Would be cool to be able to specify the generator prototype and still use this form.

I'm going to close this unless/until there's some way to do this. Feel free to reopen it otherwise.