/react-component-generator

React Component Generator

Primary LanguageJavaScriptMIT LicenseMIT

React Component Generator

RCG

React for CLIs.

Install

$ npm install rcg -g

Using the CLI

You can now add rcg to your app with one command!

  1. npm install rcg -g
  2. rcg [options]

Command sets

  • rcg create-component|cc : Create your components guided from terminal with a lot of choices
  • rcg feature-json-start|featJson: Create GIT branches (PID, TASK) from JSON file
  • rcg feature-start|feat : Create GIT branches (PID, TASK) from terminal with a lot of choices
  • rcg git-init|git : Clone a repository project
  • rcg npm-init|npm : Change NPM registry.

Usage Example

$ rcg

Create Dummy Component

$ cd ~/developmentFolder
$ rcg create-component