ui

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd func(ctx context.Context, app spec.App, opts provider.Opts) error

Cmd is the command to run the UI.

type Model

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

Mode le is the model for the UI.

func NewModel

func NewModel(ctx *pctx.ProgramContext, apps []spec.App, cmd Cmd, opts provider.Opts) Model

NewModel creates a new Model.

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

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

func (Model) View

func (m Model) View() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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