diff --git a/modules/apps/31-ibc-query/client/cli/cli.go b/modules/apps/31-ibc-query/client/cli/cli.go index 7f1e458cd3a..eb2bf10c740 100644 --- a/modules/apps/31-ibc-query/client/cli/cli.go +++ b/modules/apps/31-ibc-query/client/cli/cli.go @@ -1 +1,39 @@ package cli + +import ( + "github.com/cosmos/cosmos-sdk/client" + "github.com/spf13/cobra" +) + +// GetQueryCmd returns the query commands for 29-fee +func GetQueryCmd() *cobra.Command { + queryCmd := &cobra.Command{ + Use: "ibc-query", + Short: "IBC query command", + DisableFlagParsing: true, + SuggestionsMinimumDistance: 2, + } + + queryCmd.AddCommand( + + ) + + return queryCmd +} + +// NewTxCmd returns the transaction commands for 29-fee +func NewTxCmd() *cobra.Command { + txCmd := &cobra.Command{ + Use: "ibc-query", + Short: "IBC query command", + DisableFlagParsing: true, + SuggestionsMinimumDistance: 2, + RunE: client.ValidateCmd, + } + + txCmd.AddCommand( + NewMsgCrossChainQueryCmd(), + ) + + return txCmd +}