Cosmos-sdk: Unify CLI param calls

Created on 10 Jan 2019  路  4Comments  路  Source: cosmos/cosmos-sdk

Currently

  • gaiacli query gov param [type]
  • gaiacli query stake parameters
  • gaiacli query slashing params

I propose moving everything to param, objections?
cc @sunnya97 @rigelrozanski @alexanderbez @cwgoes

CLI proposal

Most helpful comment

@jackzampolin Do you mean:

gaiacli query gov params
gaiacli query stake params
gaiacli query slashing params

I would be in favor of that, and the param [type] syntax is OK too, but we should retain the option to show all parameters.

All 4 comments

I do like the gaiacli query params [module] convention :)

@jackzampolin Do you mean:

gaiacli query gov params
gaiacli query stake params
gaiacli query slashing params

I would be in favor of that, and the param [type] syntax is OK too, but we should retain the option to show all parameters.

Seconding
gaiacli query gov params
gaiacli query stake params
gaiacli query slashing params

Agree with both @sunnya97 and @cwgoes on this. Going to implement:

gaiacli query gov params
gaiacli query gov param [type]
gaiacli query stake params
gaiacli query slashing params
Was this page helpful?
0 / 5 - 0 ratings