Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Commit

Permalink
0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixTW committed Jul 30, 2019
1 parent 1c7ae55 commit a557cfc
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 19 deletions.
38 changes: 20 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -31,32 +31,34 @@ USAGE
<!-- usagestop -->
# Commands
<!-- 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]`

Expand Down Expand Up @@ -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)_
<!-- commandsstop -->

## License
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit a557cfc

Please sign in to comment.