-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
EPIC: AutoCLI & hubl #11775
Comments
ref #3558 |
@AmauryM this should probably reuse the same Coin functionality as textual. That is something we could put in core, but the need here is also for a protoreflect version which I think should be generic enough to not depend on a configurable denom regex |
I can put this function into core: cosmos-sdk/tx/textual/valuerenderer/coins.go Line 150 in 1fdbea5
This function IMO shouldn't depend on any regex, it should assume all denoms inside Coin and Metadata are valid. |
One pending discussion from #11877 is:
I think we should have as a goal:
I tend to agree with the perspective that CLI options in .proto files might bloat them a little. If we don't do them in the .proto files, I would want a similar client distribution system that accomplishes the above. It might be that using the .proto files is the simplest approach because the existing gRPC reflection API will be sufficient (just pull the FileDescriptor's and that's it). |
I updated #11763 with an example using a .yaml file. The same thing could be done in a go file and it would really be the user's choice. How does that look @AmauryM @marbar3778 ? |
User Story
As a module developer, I want the framework to automatically generate CLI commands from protobuf Query and Msg service and ORM table definitions so that I don't have to manually write and test these commands.
Phase 1: Basic Support
Phase 2: Enhanced Support
cosmos.Dec
#16985Phase 2.5: Module customization
For each module in the SDK, add autocli options following the pattern in
x/auth/autocli.go
. These options should:Phase 3: Full Tx Support
Phase 4: Full parity with existing CLI
Support for genesis related stuff, node status, tendermint blocks and events, etc.
Phase 5: ORM Query Support
To be specified once #11774 is completed.
The text was updated successfully, but these errors were encountered: