mukan-core/x/poj/client/cli/tx.go
2026-05-11 03:46:11 +03:00

24 lines
547 B
Go

package cli
import (
"fmt"
"github.com/spf13/cobra"
"git.cw.tr/mukan-network/mukan-sdk/client"
"mukan/x/poj/types"
)
// GetTxCmd returns the transaction commands for this module
func GetTxCmd() *cobra.Command {
cmd := &cobra.Command{
Use: types.ModuleName,
Short: fmt.Sprintf("%s transactions subcommands", types.ModuleName),
DisableFlagParsing: true,
SuggestionsMinimumDistance: 2,
RunE: client.ValidateCmd,
}
cmd.AddCommand(CmdMine())
return cmd
}