options

package
v0.0.0-...-a3cdc46 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddChannelArgs

func AddChannelArgs(cmd *cobra.Command, o *ChannelOptions)

func AddMessageArgs

func AddMessageArgs(cmd *cobra.Command, o *MessageOptions)

func AddOutputArg

func AddOutputArg(cmd *cobra.Command, po *OutputOptions)

Types

type ChannelOptions

type ChannelOptions struct {
	Name   string
	ID     string
	Thread string
}

ChannelOptions

type MessageOptions

type MessageOptions struct {
	Message        string
	Reaction       bool
	RemoveReaction bool
}

MessageOptions

type OutputOptions

type OutputOptions struct {
	JSON bool
}

OutputOptions

func (*OutputOptions) HandleError

func (o *OutputOptions) HandleError(err error) error

Jump to

Keyboard shortcuts

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