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

AutoCLI app wiring + remote info support #13282

Closed
Tracked by #11775
aaronc opened this issue Sep 14, 2022 · 0 comments · Fixed by #13281
Closed
Tracked by #11775

AutoCLI app wiring + remote info support #13282

aaronc opened this issue Sep 14, 2022 · 0 comments · Fixed by #13281
Labels

Comments

@aaronc
Copy link
Member

aaronc commented Sep 14, 2022

User Stories

  • as an module developer, I want a way to specify cosmos.autocli.v1.ModuleOptions that will be picked up by clients
  • as a client developer, I want a way to retrieve the autocli options from a remote chain in order to dynamically generate a CLI client

Implementation

  • integrate a method into runtime for collecting all of the ModuleOptions as well as custom query and tx commands as OnePerModuleTypes
  • add gRPC methods for querying:
    • all of the protobuf FileDescriptors (grpc-reflection sort of has this but it's a bit hard to extract all the FileDescriptors)
    • the autocli ModuleOptions for all the modules
  • implement and serve the above gRPC services from runtime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants