-
Notifications
You must be signed in to change notification settings - Fork 21
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
How do I add a generator? #3
Comments
Thanks for the comment @purplecabbage see the PR in aio-cli-plugin-app: adobe/aio-cli-plugin-app#113 There is no need to republish the aio-cli-plugin-app, the only generator that init needs to know about is The app generator (https://github.com/adobe/generator-aio-app/blob/master/generators/app/index.js) then calls the add-action and add-web-assets generators internally. Those two generators call actual code generators for actions and web-assets. This means that actual code generators for ui and actions do not need to be known by aio-cli-plugin-app, but instead generator-aio-app will prompt the user for which action/ui to generate. New action/ui generator can be added to generator-aio-app in the |
Also in this PR I am adding your exc-shell generator as a new UI generator |
fixed in #5 |
Get upstream
The directory structure is not obvious, so we need some documentation in the README about how to add a new generator so that it will be picked up by aio-cli-plugin-app init without any need to re-pub aio-cli-plugin-app.
The text was updated successfully, but these errors were encountered: