app

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package app implements the Bubble Tea TUI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

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

Model is the root Bubble Tea model.

func New

func New(cfg config.Config, configPath string, svc service.Service, factory service.Factory, initialStatus string, forceSetup bool) *Model

New creates the root TUI model.

func (*Model) Init

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

Init starts the first load command when configuration is complete.

func (*Model) Update

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

Update handles Bubble Tea messages.

func (*Model) View

func (m *Model) View() tea.View

View renders the root TUI.

Jump to

Keyboard shortcuts

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