Proto Compile

将protobuf消息定义文件.proto编译为python代码

lumina37 d23870a 2 files · 4.2 KB Updated

File contents

Protobuf编译Skill

触发时机

变更或新增.proto文件时

使用方法

python scripts/proto_compile.py -a            # 编译全部
python scripts/proto_compile.py -c            # 仅编译公共protobuf定义
python scripts/proto_compile.py -d <api_name> # 编译指定名称的API模块
python scripts/proto_compile.py -c -d A -d B  # 组合使用

lumina37/aiotieba/tree/main/.agent/skills/proto-compile commit d23870ada3

Frequently asked questions

npx skillmds@latest add lumina37/proto-compile