Skip to content
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.

Commit

Permalink
add cli
Browse files Browse the repository at this point in the history
  • Loading branch information
sujine2 authored and boosik committed Sep 5, 2022
1 parent 91d1673 commit 247fd7b
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions modules/apps/31-ibc-query/client/cli/cli.go
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 247fd7b

Please sign in to comment.