A set of subgenerators for helping you when working with AEM applications, current supported subgenerators will help you create AEM components, clientlibs, custom workflow steps and a galen submodule
npm install generator-aem-applicationFirst, install Yeoman and generator-aem-application using npm (we assume you have pre-installed node.js).
``bash`
npm install -g yo
npm install -g generator-aem-application
All Subgenerators should be executed from the root path of your AEM application unless specified
bash
yo aem-application:aem-component
`You can also supply parameters from the console
`bash
yo aem-application:aem-component mavenAppsModuleName=ui.apps componentParentPath=basic-component/components/content componentNodeName=basic-component componentName="Basic Component" componentGroup="Basic Component" mavenBundleModuleName=core javaRootPackageName=co.dlighthouse.aem.basiccomponent.core javaModelRelativePackageName=models javaModelClassName=BasicModel
`$3
`bash
yo aem-application:clientlibs
`You can also supply parameters from the console
`bash
yo aem-application:clientlibs clientlibsPath=ui.apps/src/main/content/jcr_root/apps/basic-component/clientlibs/clientlib-example categories=clientlib-example
`$3
`bash
yo aem-application:workflow
`You can also supply parameters from the console
`bash
yo aem-application:workflow workflowName="Sample Application - Sample Workflow Process Step" mavenAppsModuleName=ui.apps componentParentPath=workflow-step-dialog/components/workflow componentNodeName=workflow-process mavenBundleModuleName=core javaRootPackageName=co.dlighthouse.aem.workflowstepdialog.core javaWorkflowRelativePackageName=workflows javaWorkflowClassName=SampleWorkflowProcess
`$3
`bash
yo aem-application:galen-module
`You can also supply parameters from the console
`bash
yo aem-application:galen-module
`Getting To Know Yeoman
* Yeoman has a heart of gold.
* Yeoman is a person with feelings and opinions, but is very easy to work with.
* Yeoman can be too opinionated at times but is easily convinced not to be.
development
For adding new sub generators:
yo generator:subgenerator
* Feel free to learn more about Yeoman.
Apache-2.0 © drginm
[npm-image]: https://badge.fury.io/js/generator-aem-application.svg
[npm-url]: https://npmjs.org/package/generator-aem-application
[travis-image]: https://travis-ci.com/drginm/generator-aem-application.svg?branch=master
[travis-url]: https://travis-ci.com/drginm/generator-aem-application
[daviddm-image]: https://david-dm.org/drginm/generator-aem-application.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/drginm/generator-aem-application
[coveralls-image]: https://coveralls.io/repos/drginm/generator-aem-application/badge.svg
[coveralls-url]: https://coveralls.io/r/drginm/generator-aem-application