@i18n.site/proto2js
v0.1.10
Published
[English](#english) | [中文](#中文)
Readme
@3-/protogen
Command Line Interface
English
Usage: protogen <proto_path> -o <out_dir> [-I <include_dir> ...]
| Argument | Description |
| :--- | :--- |
| proto_path | Path to the .proto file. |
| Option | Alias | Description | Required |
| :--- | :--- | :--- | :--- |
| --out | -o | Output directory for generated files. | Yes |
| --include | -I | Include directory for proto imports. Can be specified multiple times. | No |
中文
用法: protogen <proto_path> -o <out_dir> [-I <include_dir> ...]
| 参数 | 描述 |
| :--- | :--- |
| proto_path | .proto 文件的路径。 |
| 选项 | 别名 | 描述 | 是否必需 |
| :--- | :--- | :--- | :--- |
| --out | -o | 生成文件的输出目录。 | 是 |
| --include | -I | proto 导入的包含目录。可以多次指定。 | 否 |
