github.com/fibonacci-chain/fbc@v0.0.0-20231124064014-c7636198c1e9/libs/cosmos-sdk/x/auth/client/cli/tx.go (about)

     1  package cli
     2  
     3  import (
     4  	"github.com/spf13/cobra"
     5  
     6  	"github.com/fibonacci-chain/fbc/libs/cosmos-sdk/client"
     7  	"github.com/fibonacci-chain/fbc/libs/cosmos-sdk/codec"
     8  	"github.com/fibonacci-chain/fbc/libs/cosmos-sdk/x/auth/types"
     9  )
    10  
    11  // GetTxCmd returns the transaction commands for this module
    12  func GetTxCmd(cdc *codec.Codec) *cobra.Command {
    13  	txCmd := &cobra.Command{
    14  		Use:                        types.ModuleName,
    15  		Short:                      "Auth transaction subcommands",
    16  		DisableFlagParsing:         true,
    17  		SuggestionsMinimumDistance: 2,
    18  		RunE:                       client.ValidateCmd,
    19  	}
    20  	txCmd.AddCommand(
    21  		GetMultiSignCommand(cdc),
    22  		GetSignCommand(cdc),
    23  	)
    24  	return txCmd
    25  }