tui

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package tui implements the interactive project dashboard using Bubble Tea. It is a view over the same data the CLI renders, and degrades to plain output when stdout is not a TTY. Everything the dashboard shows has a printable command behind it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, client *copr.Client, owner, project, dir string) error

Run starts the dashboard, blocking until it exits. It is only called when stdout is a TTY. The context cancels in-flight monitor polls and the program's refresh loop. dir selects a side repo; an empty dir monitors the project's main directory.

Types

type PollMsg

type PollMsg struct{}

PollMsg triggers a monitor refresh.

Jump to

Keyboard shortcuts

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