@ronas-it/hygen-angular-modules-generator
v3.0.4
Published
Generator Angular Modules.
Downloads
7
Readme
hygen-angular-modules-generator
Generator Angular Modules.
Installation
- Install
hygen
by executing commandnpm install -g hygen
. - Execute command
npm install @ronas-it/hygen-angular-modules-generator
in project folder.
Usage
Generate section module
hygen generator section-module --name name-of-section
Generate page module
hygen generator page-module --section name-of-section --name name-of-page
Generate page module with service
hygen generator page-module --section name-of-section --name name-of-page --withService
Generate child component for page
hygen generator page-child-component --section name-of-section --page name-of-page --name name-of-component
Generate shared component for page
hygen generator page-shared --section name-of-section --page name-of-page --name name-of-component --component
Generate shared directive for page
hygen generator page-shared --section name-of-section --page name-of-page --name name-of-directive --directive
Generate shared pipe for page
hygen generator page-shared --section name-of-section --page name-of-page --name name-of-pipe --pipe
Generate shared service for page
hygen generator page-shared --section name-of-section --page name-of-page --name name-of-service --service
Generate child page module for another page
hygen generator child-page-module --section name-of-section --parentPage name-of-page --name name-of-child-page
Generate child component for child page
hygen generator child-page-component --section name-of-section --parentPage name-of-parent-page --page name-of-child-page --name name-of-component
Generate shared module
Generate shared module (component)
hygen generator shared-module --name name-of-component --component
Generate shared module (directive)
hygen generator shared-module --name name-of-directive --directive
Generate shared module (pipe)
hygen generator shared-module --name name-of-pipe --pipe
Generate shared module (service)
hygen generator shared-module --name name-of-service --service
Generate section shared module
Generate section shared module (component)
hygen generator section-shared-module --name name-of-component --component
Generate section shared module (directive)
hygen generator section-shared-module --name name-of-directive --directive
Generate section shared module (pipe)
hygen generator section-shared-module --name name-of-pipe --pipe
Generate section shared module (service)
hygen generator section-shared-module --name name-of-service --service