executor

package
v0.0.0-...-e353533 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Success     bool
	Description string
}

type Model

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

func New

func New(opts ...Option) (Model, error)

func (*Model) Init

func (m *Model) Init() tea.Cmd

func (*Model) Reset

func (m *Model) Reset()

func (*Model) SetHeight

func (m *Model) SetHeight(height int)

func (*Model) SetWidth

func (m *Model) SetWidth(width int)

func (*Model) Update

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

func (*Model) View

func (m *Model) View() string

type Option

type Option func(option *options) error

func WithFailStyle

func WithFailStyle(failStyle lipgloss.Style) Option

func WithSuccessStyle

func WithSuccessStyle(successStyle lipgloss.Style) Option

Jump to

Keyboard shortcuts

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