unbake-proto 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,9 +6,8 @@ Decompile baked protobuf descriptors into human-readable `.proto` which is seman
|
|
|
6
6
|
## usage
|
|
7
7
|
|
|
8
8
|
```shell
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
bun run unbake <input> [out_folder] # output to file(s)
|
|
9
|
+
bunx unbake-proto <input> # output to stdout
|
|
10
|
+
bunx unbake-proto <input> [out_folder] # output to file(s)
|
|
12
11
|
```
|
|
13
12
|
|
|
14
13
|
## try
|
|
@@ -17,7 +16,7 @@ prepare your `.proto` file and then run the following commands
|
|
|
17
16
|
|
|
18
17
|
```shell
|
|
19
18
|
protoc --descriptor_set_out=baked.pb --include_imports original.proto
|
|
20
|
-
|
|
19
|
+
bunx unbake-proto baked.pb > unbaked.proto
|
|
21
20
|
```
|
|
22
21
|
|
|
23
22
|
there should be no difference between `original.proto` and `unbaked.proto` !
|