ui

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package ui is the Bubble Tea front end: dashboard, project detail, runs and audit screens. It reads state from scan and changes things only through actions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Snapshot

func Snapshot(m *Model, w, h int, which string) string

Snapshot renders one screen without a terminal: "dashboard", "help", "audit", or "detail:<path>". It scans and measures sizes synchronously.

Types

type Model

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

func New

func New(cfg *config.Config, s *scan.Scanner, a *audit.Logger, acts *actions.Actions, h *herdr.Client, debug *log.Logger) *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

Jump to

Keyboard shortcuts

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