actions

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: Unlicense Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action resource.Action

func (Action) Command

func (a Action) Command(state ui.ApplicationState) tea.Cmd

func (Action) FilterValue

func (a Action) FilterValue() string

type ActionResultMsg

type ActionResultMsg struct {
	Err error
}

type Model

type Model struct {
	// contains filtered or unexported fields
}

func Actions

func Actions(state ui.ApplicationState, r resource.Actionable, width, height int) Model

func (Model) Init

func (m Model) Init() tea.Cmd

Init initializes the confirm component.

func (Model) Update

func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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