cosmos-sdk: github.com/cosmos/cosmos-sdk/x/evidence/client/cli Index | Files

package cli

import "github.com/cosmos/cosmos-sdk/x/evidence/client/cli"

Index

Package Files

query.go tx.go

func GetQueryCmd Uses

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the CLI command with all evidence module query commands mounted.

func GetTxCmd Uses

func GetTxCmd(childCmds []*cobra.Command) *cobra.Command

GetTxCmd returns a CLI command that has all the native evidence module tx commands mounted. In addition, it mounts all childCmds, implemented by outside modules, under a sub-command. This allows external modules to implement custom Evidence types and Handlers while having the ability to create and sign txs containing them all from a single root command.

func QueryEvidenceCmd Uses

func QueryEvidenceCmd() func(*cobra.Command, []string) error

QueryEvidenceCmd returns the command handler for evidence querying. Evidence can be queried for by hash or paginated evidence can be returned.

func SubmitEvidenceCmd Uses

func SubmitEvidenceCmd() *cobra.Command

SubmitEvidenceCmd returns the top-level evidence submission command handler. All concrete evidence submission child command handlers should be registered under this command.

Package cli imports 10 packages (graph) and is imported by 1 packages. Updated 2020-08-13. Refresh now. Tools for package owners.