command

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildInfo

func BuildInfo(manifest model.Manifest) (string, error)

func BuildInfoAutocomplete

func BuildInfoAutocomplete(cmd string) *model.AutocompleteData

func GetIconData

func GetIconData(api PluginAPI, iconPath string) (string, error)

GetIconData returns the base64 encoding of a icon for a given path. The data returned may be used for slash command autocomplete.

Types

type PluginAPI

type PluginAPI interface {
	GetBundlePath() (string, error)
}

PluginAPI is the plugin API interface required to manage slash commands.

Jump to

Keyboard shortcuts

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