Open
Description
命令:
tsrpc encode --verbose -p ./src/shared/protocols/serviceProto.ts -s PtlSend/ReqSend -o ./send.bin {content: 'hello'}
serviceProto.ts是github.com/k8w/tsrpc-examples/chatroom/backend里面的例子
"PtlSend/ReqSend": {
"type": "Interface",
"properties": [
{
"id": 0,
"name": "content",
"type": {
"type": "String"
}
}
]
}
命令执行后没有调试信息输出,也没有输出send.bin二进制文件