Skip to content

Commit 021a89a

Browse files
author
Harsh Vardhan Gautam
committed
UPDATE README.md
1 parent 0e316cf commit 021a89a

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,19 @@ rct helps you out with these kind of tasks by providing you simple to use comman
2121
```text rct [command]
2222
2323
Commands:
24-
rct cra Use this command to scaffold a new react application (TYPESCRIPT template is default)
24+
rct cra Use this command to scaffold a new react application (TYPESCRIPT
25+
template is default)
2526
rct gc Use this command to generate a new react component
2627
2728
Options:
28-
--help Show help [boolean]
29-
--version Show version number [boolean]
30-
--js, --javascript Set this flag to true to scaffold new react
31-
application with javascript template [boolean]
32-
--css, --css_stylesheet Set this flag to true to scaffold new react component
33-
along with it's css style file [boolean]
29+
--help Show help [boolean]
30+
--version Show version number [boolean]
31+
--js Set this flag to true to scaffold new react application with
32+
javascript template [boolean]
33+
--css Set this flag to true to scaffold new react component along with
34+
it's css style file [boolean]
35+
--class Set this flag to true to scaffold new class based react component
36+
[boolean]
3437
```
3538

3639
### Examples
@@ -50,7 +53,7 @@ rct cra todo-app
5053
#### Generating a new React Component
5154

5255
```bin
53-
rct gc <component-name> [--js --css]
56+
rct gc <component-name> [--js --css --class]
5457
```
5558

5659
e.g.

0 commit comments

Comments
 (0)