mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-07-08 13:42:29 +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(),
|
GetCmdChallenge(),
|
||||||
GetCmdChallenges(),
|
GetCmdChallenges(),
|
||||||
GetCmdDistribution(),
|
GetCmdDistribution(),
|
||||||
|
GetCmdDistributions(),
|
||||||
GetCmdListRedeemClaim(),
|
GetCmdListRedeemClaim(),
|
||||||
GetCmdMintRequests(),
|
GetCmdMintRequests(),
|
||||||
GetCmdQueryParams(),
|
GetCmdQueryParams(),
|
||||||
@ -34,8 +35,6 @@ func GetQueryCmd(_ string) *cobra.Command {
|
|||||||
GetCmdShowRedeemClaim(),
|
GetCmdShowRedeemClaim(),
|
||||||
)
|
)
|
||||||
|
|
||||||
cmd.AddCommand(CmdDistributions())
|
|
||||||
|
|
||||||
// this line is used by starport scaffolding # 1
|
// this line is used by starport scaffolding # 1
|
||||||
|
|
||||||
return cmd
|
return cmd
|
||||||
|
@ -11,7 +11,7 @@ import (
|
|||||||
|
|
||||||
var _ = strconv.Itoa(0)
|
var _ = strconv.Itoa(0)
|
||||||
|
|
||||||
func CmdDistributions() *cobra.Command {
|
func GetCmdDistributions() *cobra.Command {
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "distributions",
|
Use: "distributions",
|
||||||
Short: "Query distributions",
|
Short: "Query distributions",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user