|
|
|
@ -52,7 +52,9 @@ ABSL_FLAG(bool, remotedb, true, |
|
|
|
|
"Use server types to parse and format messages"); |
|
|
|
|
ABSL_FLAG(std::string, metadata, "", |
|
|
|
|
"Metadata to send to server, in the form of key1:val1:key2:val2"); |
|
|
|
|
ABSL_FLAG(std::string, proto_path, ".", "Path to look for the proto file."); |
|
|
|
|
ABSL_FLAG(std::string, proto_path, ".", |
|
|
|
|
"Path to look for the proto file. " |
|
|
|
|
"Multiple paths can be separated by " GRPC_CLI_PATH_SEPARATOR); |
|
|
|
|
ABSL_FLAG(std::string, protofiles, "", "Name of the proto file."); |
|
|
|
|
ABSL_FLAG(bool, binary_input, false, "Input in binary format"); |
|
|
|
|
ABSL_FLAG(bool, binary_output, false, "Output in binary format"); |
|
|
|
@ -489,8 +491,9 @@ bool GrpcTool::CallMethod(int argc, const char** argv, |
|
|
|
|
" <request> ; Text protobuffer (overrides infile)\n" |
|
|
|
|
" --protofiles ; Comma separated proto files used as a" |
|
|
|
|
" fallback when parsing request/response\n" |
|
|
|
|
" --proto_path ; The search path of proto files, valid" |
|
|
|
|
" only when --protofiles is given\n" |
|
|
|
|
" --proto_path ; The search paths of proto files" |
|
|
|
|
" (" GRPC_CLI_PATH_SEPARATOR |
|
|
|
|
" separated), valid only when --protofiles is given\n" |
|
|
|
|
" --noremotedb ; Don't attempt to use reflection service" |
|
|
|
|
" at all\n" |
|
|
|
|
" --metadata ; The metadata to be sent to the server\n" |
|
|
|
@ -856,8 +859,9 @@ bool GrpcTool::ParseMessage(int argc, const char** argv, |
|
|
|
|
" <message> ; Text protobuffer (overrides --infile)\n" |
|
|
|
|
" --protofiles ; Comma separated proto files used as a" |
|
|
|
|
" fallback when parsing request/response\n" |
|
|
|
|
" --proto_path ; The search path of proto files, valid" |
|
|
|
|
" only when --protofiles is given\n" |
|
|
|
|
" --proto_path ; The search paths of proto files" |
|
|
|
|
" (" GRPC_CLI_PATH_SEPARATOR |
|
|
|
|
" separated), valid only when --protofiles is given\n" |
|
|
|
|
" --noremotedb ; Don't attempt to use reflection service" |
|
|
|
|
" at all\n" |
|
|
|
|
" --infile ; Input filename (defaults to stdin)\n" |
|
|
|
@ -946,7 +950,9 @@ bool GrpcTool::ToText(int argc, const char** argv, const CliCredentials& cred, |
|
|
|
|
" grpc_cli totext <protofiles> <type>\n" |
|
|
|
|
" <protofiles> ; Comma separated list of proto files\n" |
|
|
|
|
" <type> ; Protocol buffer type name\n" |
|
|
|
|
" --proto_path ; The search path of proto files\n" |
|
|
|
|
" --proto_path ; The search paths of proto files" |
|
|
|
|
" (" GRPC_CLI_PATH_SEPARATOR |
|
|
|
|
" separated)\n" |
|
|
|
|
" --infile ; Input filename (defaults to stdin)\n" |
|
|
|
|
" --outfile ; Output filename (defaults to stdout)\n"); |
|
|
|
|
|
|
|
|
@ -964,7 +970,9 @@ bool GrpcTool::ToJson(int argc, const char** argv, const CliCredentials& cred, |
|
|
|
|
" grpc_cli tojson <protofiles> <type>\n" |
|
|
|
|
" <protofiles> ; Comma separated list of proto files\n" |
|
|
|
|
" <type> ; Protocol buffer type name\n" |
|
|
|
|
" --proto_path ; The search path of proto files\n" |
|
|
|
|
" --proto_path ; The search paths of proto files" |
|
|
|
|
" (" GRPC_CLI_PATH_SEPARATOR |
|
|
|
|
" separated)\n" |
|
|
|
|
" --infile ; Input filename (defaults to stdin)\n" |
|
|
|
|
" --outfile ; Output filename (defaults to stdout)\n"); |
|
|
|
|
|
|
|
|
@ -983,7 +991,9 @@ bool GrpcTool::ToBinary(int argc, const char** argv, const CliCredentials& cred, |
|
|
|
|
" grpc_cli tobinary <protofiles> <type> [<message>]\n" |
|
|
|
|
" <protofiles> ; Comma separated list of proto files\n" |
|
|
|
|
" <type> ; Protocol buffer type name\n" |
|
|
|
|
" --proto_path ; The search path of proto files\n" |
|
|
|
|
" --proto_path ; The search paths of proto files" |
|
|
|
|
" (" GRPC_CLI_PATH_SEPARATOR |
|
|
|
|
" separated)\n" |
|
|
|
|
" --infile ; Input filename (defaults to stdin)\n" |
|
|
|
|
" --outfile ; Output filename (defaults to stdout)\n"); |
|
|
|
|
|
|
|
|
|