|
|
@ -468,7 +468,7 @@ var commands = []cli.Command{
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Name: "protoc",
|
|
|
|
Name: "protoc",
|
|
|
|
Usage: "generate grpc code",
|
|
|
|
Usage: "generate grpc code",
|
|
|
|
UsageText: `example: goctl rpc protoc xx.proto --go_out=./pb --go-grpc=./pb --zrpc_out=.`,
|
|
|
|
UsageText: `example: goctl rpc protoc xx.proto --go_out=./pb --go-grpc_out=./pb --zrpc_out=.`,
|
|
|
|
Description: "for details, see https://go-zero.dev/cn/goctl-rpc.html",
|
|
|
|
Description: "for details, see https://go-zero.dev/cn/goctl-rpc.html",
|
|
|
|
Action: rpc.ZRPC,
|
|
|
|
Action: rpc.ZRPC,
|
|
|
|
Flags: []cli.Flag{
|
|
|
|
Flags: []cli.Flag{
|
|
|
|