generator-codegen
An opinionated generator to scaffold new generators
Introduction
This is a Yeoman generator to scaffold new generators. It can be used to generate follownig specialized generators:
- General purpose Yeoman generator
- JHipster Module
Installation
Use following command to globally install this generator:
yarn global add generator-codegen
Usage
-
Navigate to directory where you would like to scaffold new generator.
-
Use following command to scaffold generator :
yo codegen -
Provide appropriate prompt answers. This information will be used during generation.
-
You can also provide
full name
,email address
,GitHub username
information with command line arguments (in given order):yo codegen "<full name>" "<email address>" "<GitHub username>" -
Resolve conflicts, if any.
-
After successful generation, you can try out new generator using yarn link.
License
MIT © Vishal Mahajan