Skip to content

Move module query methods into a sub command #2575

Closed

Description

Currently all of the queries for different SDK modules live under a single gaiacli query command. This can cause some query methods to have very long names to avoid namespace collisions. See PR #2569.

This proposal is that we move the query commands for each module into into a sub command of query. This also has the advantage of making all the query commands very human readable and understandable:

  • gaiacli (binary)
  • query (verb)
  • staking (module)
  • unbonding-delegations (method)

We might also want to think about reworking the gaiacli tx tree the same way. Thoughts @cwgoes @fedekunze @alexanderbez?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions