Skip to content

Commit 1476528

Browse files
authored
Update generate-codes.md
1 parent 1c7f443 commit 1476528

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/pb/generate-codes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
The `pb gen` command is to generate code.
22

3-
## pb gen json
3+
## pb gen schema
44

5-
You can generate json with specifying protobuf files.
5+
You can generate schema representation in json with specifying protobuf files.
66

77
```bash
8-
pb gen json a.proto b.proto
8+
pb gen schema a.proto b.proto
99
```
1010

1111
Also with appropriate options, you can generate json more easily.
@@ -18,7 +18,7 @@ Also with appropriate options, you can generate json more easily.
1818
So in most of use cases, you can use just below commands to generate json.
1919

2020
```bash
21-
pb gen json --entry-path=".pollapo"
21+
pb gen schema --entry-path=".pollapo"
2222
```
2323

2424
## pb gen ts

0 commit comments

Comments
 (0)