From 9706903f6e090aeccb45fdb9748fa672dd75eca1 Mon Sep 17 00:00:00 2001 From: Eitol Date: Wed, 10 Jul 2024 11:15:35 -0400 Subject: [PATCH] Update grpcurl commands in README The grpcurl commands for exporting proto files and protoset files in the README are updated. The IP address has been changed to localhost and port number to '8787'. Also, the service name is adjusted to 'my.custom.server.Service'. Instructions for use of specific command options are added for enhanced clarity. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5e6c2f7..85e923b 100644 --- a/README.md +++ b/README.md @@ -160,9 +160,11 @@ grpcurl -protoset my-protos.bin list # Using proto sources grpcurl -import-path ../protos -proto my-stuff.proto list -# Export proto files -grpcurl -plaintext -proto-out-dir "out_protos" "192.168.100.1:9200" describe Api.Service +# Export proto files (use -proto-out-dir to specify the output directory) +grpcurl -plaintext -proto-out-dir "out_protos" "localhost:8787" describe my.custom.server.Service +# Export protoset file (use -protoset-out to specify the output file) +grpcurl -plaintext -protoset-out "out.protoset" "localhost:8787" describe my.custom.server.Service ```