cli

package
v0.15.5 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagParentID       = "parent-id"
	FlagAttachment     = "attachment"
	FlagPollDetails    = "poll-details"
	FlagPollAnswer     = "poll-answer"
	FlagCreationTime   = "creation-time"
	FlagAllowsComments = "allows-comments"
	FlagSubspace       = "subspace"
	FlagHashtag        = "hashtag"
	FlagCreator        = "creator"
)

Posts flags

Variables

This section is empty.

Functions

func DefaultQueryPostsRequest added in v0.15.0

func DefaultQueryPostsRequest(page, limit uint64) types.QueryPostsRequest

func GetCmdAddPostReaction added in v0.3.0

func GetCmdAddPostReaction() *cobra.Command

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

func GetCmdAnswerPoll added in v0.3.0

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 added in v0.15.0

func GetCmdQueryParams() *cobra.Command

GetCmdQueryParams returns the command allowing to query the module params

func GetCmdQueryPollAnswers added in v0.15.0

func GetCmdQueryPollAnswers() *cobra.Command

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

func GetCmdQueryPost added in v0.2.0

func GetCmdQueryPost() *cobra.Command

GetCmdQueryPost returns the command allowing to query a post

func GetCmdQueryPosts added in v0.2.0

func GetCmdQueryPosts() *cobra.Command

GetCmdQueryPosts returns the command allowing to query a list of posts

func GetCmdQueryRegisteredReactions added in v0.4.0

func GetCmdQueryRegisteredReactions() *cobra.Command

GetCmdQueryRegisteredReactions returns the command allowing to query the registered reactions

func GetCmdRegisterReaction added in v0.4.0

func GetCmdRegisterReaction() *cobra.Command

GetCmdRegisterReaction returns the CLI command to register a new reaction

func GetCmdRemovePostReaction added in v0.3.0

func GetCmdRemovePostReaction() *cobra.Command

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

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the command allowing to perform queries

func NewTxCmd added in v0.15.0

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