tui

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterProjects added in v0.1.1

func FilterProjects(projects []pmodel.Project, filter string) []pmodel.Project

func Run

func Run(projects []pmodel.Project, cleanFn CleanFunc, refreshFn RefreshFunc) (string, error)

func RunWithFilter added in v0.1.1

func RunWithFilter(projects []pmodel.Project, cleanFn CleanFunc, refreshFn RefreshFunc, initialFilter string) (string, error)

Types

type CleanFunc

type CleanFunc func(project pmodel.Project) (pmodel.Project, string, error)

type RefreshEvent

type RefreshEvent struct {
	Project   pmodel.Project
	Completed int
	Total     int
	Done      bool
	Error     string
}

type RefreshFunc

type RefreshFunc func(projects []pmodel.Project) <-chan RefreshEvent

Jump to

Keyboard shortcuts

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