ui

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package ui provides terminal UI components built with bubbletea.

Package ui provides terminal UI components built with bubbletea.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunApp

func RunApp() error

RunApp launches the full-screen TUI dashboard. Config is read from viper (already populated by the root command's PersistentPreRun).

func RunForm

func RunForm(fields []FormField) ([]string, error)

RunForm displays an interactive form for the given fields and returns the values entered by the user. Returns an error if the user aborts (Esc / Ctrl-C).

Types

type FormField

type FormField struct {
	Name string
	Type string
}

FormField describes a single input field in the form.

Jump to

Keyboard shortcuts

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