You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For discovery and help purposes, it would help to give more information through the --help command on Services and their RPCs
Services and RPCs can return their docstring as found in the proto files, while RPCs could additionally return a list of request fields and their types.
Examples
Service
$ grpctl {Service} --help
path.to.Service (path/to/file.proto)
Docstring
Available Commands:
...
Flags:
...
Global Flags:
...
Method
$ grpctl {Service} {RPC} --help
path.to.Service/RPC (path/to/file.proto)
Docstring
Request:
[num] field_name - Type
Flags:
...
Global Flags:
...
The text was updated successfully, but these errors were encountered:
anzboi
changed the title
V2 RPC command --help could give a list of fields and types
RPC command --help could give a list of fields and types
Dec 21, 2021
For discovery and help purposes, it would help to give more information through the
--help
command on Services and their RPCsServices and RPCs can return their docstring as found in the proto files, while RPCs could additionally return a list of request fields and their types.
Examples
Service
Method
The text was updated successfully, but these errors were encountered: