cli

package
v2.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
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

func GetCmdAddPostReaction() *cobra.Command

GetCmdAddPostReaction returns the CLI command to add a reaction to a post

func GetCmdAnswerPoll

func GetCmdAnswerPoll() *cobra.Command

GetCmdAnswerPoll returns the CLI command to answer a poll

func GetCmdCreatePost

func GetCmdCreatePost() *cobra.Command

GetCmdCreatePost returns the CLI command to create a post

func GetCmdEditPost

func GetCmdEditPost() *cobra.Command

GetCmdEditPost returns the CLI command to edit a post

func GetCmdQueryParams

func GetCmdQueryParams() *cobra.Command

GetCmdQueryParams returns the command allowing to query the module params

func GetCmdQueryPost

func GetCmdQueryPost() *cobra.Command

GetCmdQueryPost returns the command allowing to query a post

func GetCmdQueryPostComments

func GetCmdQueryPostComments() *cobra.Command

GetCmdQueryPostComments returns the command allowing to query the comments of a post

func GetCmdQueryPostReactions

func GetCmdQueryPostReactions() *cobra.Command

GetCmdQueryPostReactions returns the command allowing to query the reactions of a post

func GetCmdQueryPosts

func GetCmdQueryPosts() *cobra.Command

GetCmdQueryPosts returns the command allowing to query a list of posts

func GetCmdQueryRegisteredReactions

func GetCmdQueryRegisteredReactions() *cobra.Command

GetCmdQueryRegisteredReactions returns the command allowing to query the registered reactions

func GetCmdQueryReports

func GetCmdQueryReports() *cobra.Command

GetCmdQueryReports returns the command that allows to query the reports of a post

func GetCmdQueryUserAnswers

func GetCmdQueryUserAnswers() *cobra.Command

GetCmdQueryUserAnswers returns the command allowing to query the answers of a poll

func GetCmdRegisterReaction

func GetCmdRegisterReaction() *cobra.Command

GetCmdRegisterReaction returns the CLI command to register a new reaction

func GetCmdRemovePostReaction

func GetCmdRemovePostReaction() *cobra.Command

GetCmdRemovePostReaction returns the CLI command to remove a reaction from a post

func GetCmdReportPost

func GetCmdReportPost() *cobra.Command

GetCmdReportPost returns the command allowing to report a post

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the command allowing to perform queries

func NewTxCmd

func NewTxCmd() *cobra.Command

NewTxCmd returns a new command allowing to perform posts transactions

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL