Skip to content
An opinionated generator to scaffold new Yeoman generators
Branch: master
Clone or download
Latest commit cbc050f Jun 14, 2019

README.md

generator-codegen NPM version npm Build Status Dependency Status Coverage percentage code style: prettier NpmLicense

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:

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

You can’t perform that action at this time.