-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outside of project generator #1375
Comments
Pretty sure that the generator/blueprint can say that it is available outside the project. |
Can it? as the generate command itself only works within a project: https://github.com/stefanpenner/ember-cli/blob/master/lib/commands/generate.js#L12 |
Crap, perhaps that is not true, maybe I was thinking of |
The generate command can be changed to allow this, but without a project's |
@rjackson Yeah that's the part I'm not sure on. If there is a way we could detect the addon. I'd rather them not have to be installed globally. Maybe some sort of |
👍 example |
closing in-favor of |
Currently the generators only work inside of projects. I like the idea of having an outside of project generator. The main use for this I see is that it would allow "project generators". #1374 brought this to mind
Something like that would be useful to me with my cordova project, and it seems like there could be other cases for wanting to run a generator with blueprints to create a project with some extra files.
My current setup is:
An outside of project generator would allow:
Needs more thought but I'm curious what you guys think.
The text was updated successfully, but these errors were encountered: