From a557cfc558d027f7d40cc39c882fd499387d90f1 Mon Sep 17 00:00:00 2001 From: Kaustav Chakraborty Date: Tue, 30 Jul 2019 18:31:43 +0530 Subject: [PATCH] 0.2.0 --- README.md | 38 ++++++++++++++++++++------------------ package.json | 2 +- 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index a2f25a0..036e33b 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ $ npm install -g @itchef/rg-cli $ rg COMMAND running command... $ rg (-v|--version|version) -@itchef/rg-cli/0.1.0 darwin-x64 node-v11.5.0 +@itchef/rg-cli/0.2.0 darwin-x64 node-v11.5.0 $ rg --help [COMMAND] USAGE $ rg COMMAND @@ -31,32 +31,34 @@ USAGE # Commands -- [@itchef/rg-cli](#itchefrg-cli) -- [Usage](#usage) -- [Commands](#commands) - - [`rg generate`](#rg-generate) - - [`rg help [COMMAND]`](#rg-help-command) - - [`rg new APPNAME`](#rg-new-appname) - - [License](#license) - - [The MIT License](#the-mit-license) +* [`rg generate GENERATOR NAME`](#rg-generate-generator-name) +* [`rg help [COMMAND]`](#rg-help-command) +* [`rg new APPNAME`](#rg-new-appname) -## `rg generate` +## `rg generate GENERATOR NAME` Generate new files. Such as components, modules etc. ``` USAGE - $ rg generate + $ rg generate GENERATOR NAME -Arguments - task name of the task - name generator name +ARGUMENTS + GENERATOR (component) What you want to generate + NAME Name of the generated element + +OPTIONS + -h, --help show CLI help + +ALIASES + $ rg g -DESCRIPTION - Currently we are only supporting COMPONENT generation task. +EXAMPLES + $ rg generate component COMPONENT + $ rg g c COMPONENT ``` -_See code: [src/commands/generate.js](https://github.com/ITChef/rg-cli/blob/v0.1.0/src/commands/generate.js)_ +_See code: [src/commands/generate.js](https://github.com/ITChef/rg-cli/blob/v0.2.0/src/commands/generate.js)_ ## `rg help [COMMAND]` @@ -90,7 +92,7 @@ OPTIONS -h, --help show CLI help ``` -_See code: [src/commands/new.js](https://github.com/ITChef/rg-cli/blob/v0.1.0/src/commands/new.js)_ +_See code: [src/commands/new.js](https://github.com/ITChef/rg-cli/blob/v0.2.0/src/commands/new.js)_ ## License diff --git a/package.json b/package.json index 3001098..bef9292 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@itchef/rg-cli", "description": "A CLI tool to create and manage initial react project", - "version": "0.1.0", + "version": "0.2.0", "author": "Kaustav Chakraborty @phoenixTW", "bin": { "rg": "./bin/run"