项目作者: ericis

项目描述 :
Corporate code generator
高级语言: JavaScript
项目地址: git://github.com/ericis/generator-corpcode.git
创建时间: 2017-03-01T16:46:52Z
项目社区:https://github.com/ericis/generator-corpcode

开源协议:MIT License

下载


Generates Corporate Code Generators

This project currently creates generators that are customized for corporate implementation.

Required: Install Node

Creating a Corporate Generator

  1. Install Node
  2. Install Yeoman Code Generator engine and register the command globally on your local machine with npm i yo -g
  3. Clone this code repository git clone https://github.com/ericis/generator-corpcode.git
  4. Install the generator’s dependencies with npm i
  5. Link it as a global NPM command locally with npm link
  6. Create a new, empty directory to create the generator in.
  7. Create your corporate generator: yo corpcode widgetco "WidgetCo Java Microservices code generator" "WidgetCo" "com.widgetco" "Eric Swanson <ericis@users.noreply.github.com>"

Setup a Corporate Generator

  1. Install Node
  2. Install Yeoman Code Generator engine and register the command globally on your local machine with npm i yo -g
  3. After getting the source code for your Corporate generator on your local machine
  4. Install the generator’s dependencies with npm i
  5. Link it as a global NPM command locally with npm link
  6. Create a new, empty directory.
  7. Run: yo widgetco:service example

Get help by running yo widgetco:service --help