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

Add --proto-out-dir option to generate .proto files #474

Closed
Eitol opened this issue Jul 9, 2024 · 0 comments · Fixed by #475
Closed

Add --proto-out-dir option to generate .proto files #474

Eitol opened this issue Jul 9, 2024 · 0 comments · Fixed by #475

Comments

@Eitol
Copy link
Contributor

Eitol commented Jul 9, 2024

Feature Description:

Add a new option --proto-out-dir to grpcurl that allows users to generate .proto files for listed, described, or invoked elements and their transitive dependencies.

Functionality:

When using the list and describe verbs, the listed or described elements and their transitive dependencies will be written as .proto files in the specified directory.

Proposed Implementation:
Add a new flag:

protoOut = flags.String("proto-out-dir", "", "The name of a directory where the generated .proto files will be written.")

Use Case:
This feature will be useful for users who need to generate .proto files from gRPC services, especially when working with services that don't have readily available .proto files or when dealing with dynamically generated services.

Would you like me to modify or expand on any part of this issue?

@Eitol Eitol changed the title Add --proto-out option to generate .proto files Add --proto-out-dir option to generate .proto files Jul 10, 2024
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

Successfully merging a pull request may close this issue.

1 participant