Skip to content

Commit 1a717b3

Browse files
committed
chore(readme): add CLI readme
1 parent ca13bc9 commit 1a717b3

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,22 @@ The order of rule applying is:
6969
3. Text
7070

7171
> I recommand you to use Generator Function because it is more flexible.
72+
73+
## CLI Tool
74+
75+
### Install CLI
76+
77+
```bash
78+
npm i -g testcase-gen
79+
```
80+
81+
### Use CLI
82+
83+
```bash
84+
testcase-gen --recipe [recipe] --output [output] --mode [mode]
85+
86+
--recipe (-r): Recipe JS File Path.
87+
--output (-o): Output File Path.
88+
--mode (-m): Generate Mode. "simple" or "normal".
89+
--version (-V) or (-v): Show version.
90+
```

0 commit comments

Comments
 (0)