command

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Origin

type Origin string

Origin defines the origin of the command.

const (
	// UnknownOrigin is the default value for Origin.
	UnknownOrigin Origin = "unknown"

	// TypedOrigin is the value for Origin when the command was typed by the user.
	TypedOrigin Origin = "typed"

	// ButtonClickOrigin is the value for Origin when the command was triggered by a button click.
	ButtonClickOrigin Origin = "buttonClick"

	// SelectValueChangeOrigin is the value for Origin when the command was triggered by a select value change.
	SelectValueChangeOrigin Origin = "selectValueChange"

	// MultiSelectValueChangeOrigin is the value for Origin when the command was triggered by a multi-select value change.
	MultiSelectValueChangeOrigin Origin = "multiSelectValueChange"

	// PlainTextInputOrigin is the value for Origin when the command was triggered by a plain text input.
	PlainTextInputOrigin Origin = "plainTextInput"

	// AutomationOrigin is the value for Origin when the command was triggered by an automation.
	AutomationOrigin Origin = "automation"
)

Jump to

Keyboard shortcuts

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