cli

package
v5.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagRegisteredReaction = "registered-reaction"
	FlagFreeTextReaction   = "free-text"
	FlagShorthandCode      = "shorthand-code"
	FlagDisplayValue       = "display-value"
)
View Source
const (
	FlagUser = "user"
)

Variables

This section is empty.

Functions

func GetCmdAddReaction

func GetCmdAddReaction() *cobra.Command

GetCmdAddReaction returns the command allowing to add a reaction to a post

func GetCmdAddRegisteredReaction

func GetCmdAddRegisteredReaction() *cobra.Command

GetCmdAddRegisteredReaction returns the command allowing to add a registered reaction

func GetCmdEditRegisteredReaction

func GetCmdEditRegisteredReaction() *cobra.Command

GetCmdEditRegisteredReaction returns the command allowing to edit a registered reaction

func GetCmdQueryParams

func GetCmdQueryParams() *cobra.Command

GetCmdQueryParams returns the command to query the reaction params of a subspace

func GetCmdQueryReaction

func GetCmdQueryReaction() *cobra.Command

GetCmdQueryReaction returns the command to query a reaction by its id

func GetCmdQueryReactions

func GetCmdQueryReactions() *cobra.Command

GetCmdQueryReactions returns the command to query the reactions inside a subspace

func GetCmdQueryRegisteredReaction

func GetCmdQueryRegisteredReaction() *cobra.Command

GetCmdQueryRegisteredReaction returns the command to query a registered reaction by its id

func GetCmdQueryRegisteredReactions

func GetCmdQueryRegisteredReactions() *cobra.Command

GetCmdQueryRegisteredReactions returns the command to query the registered reactions of a subspace

func GetCmdRemoveReaction

func GetCmdRemoveReaction() *cobra.Command

GetCmdRemoveReaction returns the command allowing to remove a reaction from a post

func GetCmdRemoveRegisteredReaction

func GetCmdRemoveRegisteredReaction() *cobra.Command

GetCmdRemoveRegisteredReaction returns the command allowing to remove a registered reaction

func GetCmdSetParams

func GetCmdSetParams() *cobra.Command

GetCmdSetParams returns the command allowing to set reactions parameters

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the command allowing to perform queries

func GetRegisteredReactionsTxCmd

func GetRegisteredReactionsTxCmd() *cobra.Command

GetRegisteredReactionsTxCmd returns a new command to perform registered reactions transactions

func NewTxCmd

func NewTxCmd() *cobra.Command

NewTxCmd returns a new command to perform reactions transactions

Types

This section is empty.

Jump to

Keyboard shortcuts

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