func NewTxCmd() *cobra.Command {
	postsTxCmd := &cobra.Command{
		Use:                        types.ModuleName,
		Short:                      "Posts transaction subcommands",
		DisableFlagParsing:         true,
		SuggestionsMinimumDistance: 2,
		RunE:                       client.ValidateCmd,
	}
	postsTxCmd.AddCommand(
		GetCmdCreatePost(),
		GetCmdEditPost(),
		GetCmdReportPost(),
		GetCmdAddPostReaction(),
		GetCmdRemovePostReaction(),
		GetCmdAnswerPoll(),
		GetCmdRegisterReaction(),
	)
	return postsTxCmd
}
DONTCOVER
TODO remove the above when x/posts is out of staging
NewTxCmd returns a new command allowing to perform posts transactions
package cli
import (
	"fmt"
	"strconv"
	"strings"
	"time"
	"github.com/cosmos/cosmos-sdk/client/flags"
	"github.com/cosmos/cosmos-sdk/client/tx"
	sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
	"github.com/cosmos/cosmos-sdk/version"
	"github.com/spf13/cobra"
	"github.com/cosmos/cosmos-sdk/client"
	"github.com/desmos-labs/desmos/v2/x/staging/posts/types"
)