Add CLI commands to invoke CometMock specific functionality without manual RPC requests #53
Labels
good first issue
Good for newcomers
prio:mighthave
For low priority issues that might be nice to have, but are not particularly important.
Is your feature request related to a problem? Please describe.
To interact with CometMock, we call its RPC endpoints.
From the command line, this can be done e.g. via curl and looks like this:
This looks a bit overbearing and puts a lot of burden and confusion on the end user.
Describe the solution you'd like
The cometmock binary should have subcommands that allow interacting with a running CometMock instance to
invoke all custom functionality.
This should look, for example, like
Describe alternatives you've considered
We could offer an alternative binary - it wouldn't even have to be written in Golang, since the functionality it would perform is miniscule (just putting together curl requests). However, I think the solution where there is just a single binary is preferable - it's how the CosmosSDK does it (running nodes but also doing one-shot interactions with the same binary).
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: