Documentation
¶
Index ¶
- Constants
- func GetCmdAddPostReaction() *cobra.Command
- func GetCmdAnswerPoll() *cobra.Command
- func GetCmdCreatePost() *cobra.Command
- func GetCmdEditPost() *cobra.Command
- func GetCmdQueryParams() *cobra.Command
- func GetCmdQueryPost() *cobra.Command
- func GetCmdQueryPostComments() *cobra.Command
- func GetCmdQueryPostReactions() *cobra.Command
- func GetCmdQueryPosts() *cobra.Command
- func GetCmdQueryRegisteredReactions() *cobra.Command
- func GetCmdQueryReports() *cobra.Command
- func GetCmdQueryUserAnswers() *cobra.Command
- func GetCmdRegisterReaction() *cobra.Command
- func GetCmdRemovePostReaction() *cobra.Command
- func GetCmdReportPost() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func NewTxCmd() *cobra.Command
Constants ¶
const ( FlagParentID = "parent-id" FlagAttachment = "attachment" FlagPollDetails = "poll-details" FlagPollAnswer = "poll-answer" FlagCommentsState = "comments-state" FlagSubspace = "subspace" )
Posts flags
Variables ¶
This section is empty.
Functions ¶
func GetCmdAddPostReaction ¶
GetCmdAddPostReaction returns the CLI command to add a reaction to a post
func GetCmdAnswerPoll ¶
GetCmdAnswerPoll returns the CLI command to answer a poll
func GetCmdCreatePost ¶
GetCmdCreatePost returns the CLI command to create a post
func GetCmdEditPost ¶
GetCmdEditPost returns the CLI command to edit a post
func GetCmdQueryParams ¶
GetCmdQueryParams returns the command allowing to query the module params
func GetCmdQueryPost ¶
GetCmdQueryPost returns the command allowing to query a post
func GetCmdQueryPostComments ¶ added in v0.17.0
GetCmdQueryPostComments returns the command allowing to query the comments of a post
func GetCmdQueryPostReactions ¶ added in v0.17.0
GetCmdQueryPostReactions returns the command allowing to query the reactions of a post
func GetCmdQueryPosts ¶
GetCmdQueryPosts returns the command allowing to query a list of posts
func GetCmdQueryRegisteredReactions ¶
GetCmdQueryRegisteredReactions returns the command allowing to query the registered reactions
func GetCmdQueryReports ¶ added in v0.16.3
GetCmdQueryReports returns the command that allows to query the reports of a post
func GetCmdQueryUserAnswers ¶ added in v0.17.0
GetCmdQueryUserAnswers returns the command allowing to query the answers of a poll
func GetCmdRegisterReaction ¶
GetCmdRegisterReaction returns the CLI command to register a new reaction
func GetCmdRemovePostReaction ¶
GetCmdRemovePostReaction returns the CLI command to remove a reaction from a post
func GetCmdReportPost ¶ added in v0.16.3
GetCmdReportPost returns the command allowing to report a post
func GetQueryCmd ¶
GetQueryCmd returns the command allowing to perform queries
Types ¶
This section is empty.