Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: get ".proto" file from URI #380

Open
andresvia opened this issue Mar 21, 2023 · 0 comments
Open

Feature request: get ".proto" file from URI #380

andresvia opened this issue Mar 21, 2023 · 0 comments

Comments

@andresvia
Copy link

Often I find myself downloading a .proto file from the webz just to pass it to grpcurl, I know I can easily script it out but could probably be nice to have it as a grpcurl feature.

Example:

old workflow:

wget --continue https://raw.githubusercontent.com/grpc/grpc/master/src/proto/grpc/health/v1/health.proto 
grpcurl -proto health.proto -plaintext  127.0.0.1:8080 grpc.health.v1.Health/Watch  

new workflow

grpcurl -proto https://raw.githubusercontent.com/grpc/grpc/master/src/proto/grpc/health/v1/health.proto -plaintext  127.0.0.1:8080 grpc.health.v1.Health/Watch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant