package cli import ( "github.com/spf13/cobra" "github.com/cosmos/cosmos-sdk/client" "github.com/sonr-io/sonr/x/dwn/types" ) // NewTxCmd returns the root transaction command for the DWN module func NewTxCmd() *cobra.Command { txCmd := &cobra.Command{ Use: types.ModuleName, Short: "Transaction commands for " + types.ModuleName, DisableFlagParsing: true, SuggestionsMinimumDistance: 2, RunE: client.ValidateCmd, } txCmd.AddCommand( GetWalletTxCommands(), ) return txCmd }