Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

Simple format #23

Closed
sindresorhus opened this issue Jan 27, 2013 · 4 comments
Closed

Simple format #23

sindresorhus opened this issue Jan 27, 2013 · 4 comments

Comments

@sindresorhus
Copy link
Member

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: yeoman/generator#152

@btford
Copy link
Contributor

btford commented Feb 18, 2013

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

@sindresorhus
Copy link
Member Author

fixed the link

@btford
Copy link
Contributor

btford commented Feb 18, 2013

This is awesome.

@btford
Copy link
Contributor

btford commented Feb 19, 2013

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.

@btford btford closed this as completed Feb 19, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants