0g-chain/x/wrapped-a0gi-base/cli/query.go

24 lines
567 B
Go
Raw Normal View History

2025-01-07 09:23:01 +00:00
package cli
import (
"github.com/0glabs/0g-chain/x/wrapped-a0gi-base/types"
"github.com/spf13/cobra"
"github.com/cosmos/cosmos-sdk/client"
)
// GetQueryCmd returns the cli query commands for the inflation module.
func GetQueryCmd() *cobra.Command {
cmd := &cobra.Command{
Use: types.ModuleName,
2025-01-10 07:08:01 +00:00
Short: "Querying commands for the wrapped a0gi base module",
2025-01-07 09:23:01 +00:00
DisableFlagParsing: true,
SuggestionsMinimumDistance: 2,
RunE: client.ValidateCmd,
}
cmd.AddCommand()
return cmd
}