mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-03-30 15:08:28 +00:00
refactor(query): align with rest of the source code
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
This commit is contained in:
parent
653e988d79
commit
067b3e58ac
@ -25,6 +25,7 @@ func GetQueryCmd(_ string) *cobra.Command {
|
||||
GetCmdChallenge(),
|
||||
GetCmdChallenges(),
|
||||
GetCmdDistribution(),
|
||||
GetCmdDistributions(),
|
||||
GetCmdListRedeemClaim(),
|
||||
GetCmdMintRequests(),
|
||||
GetCmdQueryParams(),
|
||||
@ -34,8 +35,6 @@ func GetQueryCmd(_ string) *cobra.Command {
|
||||
GetCmdShowRedeemClaim(),
|
||||
)
|
||||
|
||||
cmd.AddCommand(CmdDistributions())
|
||||
|
||||
// this line is used by starport scaffolding # 1
|
||||
|
||||
return cmd
|
||||
|
@ -11,7 +11,7 @@ import (
|
||||
|
||||
var _ = strconv.Itoa(0)
|
||||
|
||||
func CmdDistributions() *cobra.Command {
|
||||
func GetCmdDistributions() *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "distributions",
|
||||
Short: "Query distributions",
|
||||
|
Loading…
x
Reference in New Issue
Block a user