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

pactus-ctl auto gen issue #949

Open
b00f opened this issue Jan 19, 2024 · 1 comment
Open

pactus-ctl auto gen issue #949

b00f opened this issue Jan 19, 2024 · 1 comment

Comments

@b00f
Copy link
Collaborator

b00f commented Jan 19, 2024

Right now, we have a draft PR for creating auto-generated files that can be used by Cobra CLI for a new binary called pactus-ctl. Users can utilize pactus-ctl to interact with the blockchain through the CLI using gRPC.

There are two unanswered questions:

  1. How to add helper messages to the command, arguments, and optional flags.
  2. How to use Buf for autogenerating the middle file.

Currently, we use protoc. I believe that having two ways of generating files from proto will be troublesome in the future.

I am thinking, for security reasons and having more control, we should fork protoc-gen-cobra that we have used for generating Cobra files.

@b00f
Copy link
Collaborator Author

b00f commented Jan 19, 2024

We should make sure he license allow us to fork the repo

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