@ronas-it/hygen-angular-modules-generator

3.0.4 • Public • Published

hygen-angular-modules-generator

Generator Angular Modules.

Installation

  1. Install hygen by executing command npm install -g hygen.
  2. 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

Package Sidebar

Install

npm i @ronas-it/hygen-angular-modules-generator

Weekly Downloads

0

Version

3.0.4

License

ISC

Unpacked Size

53.9 kB

Total Files

96

Last publish

Collaborators

  • vmikhalevskii
  • ipakhomov
  • eleonov
  • astorozhevsky
  • opikhnenko
  • dmitryusenko