Documentation
¶
Overview ¶
Package tui provides Bubble Tea UI components for analyzerepo:
- Wizard: an interactive multi-step config collector
- Pipeline: a live progress view for the file analysis phase
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintBanner ¶
func PrintBanner()
PrintBanner prints the analyzerepo title block to stdout. Called once at the start of every run so the banner is visible in normal CLI output — not just inside the wizard's alt-screen.
func RunPipeline ¶
func RunPipeline( ctx context.Context, client *analyze.Client, root string, files []string, verbs []string, ) (analyses []analyze.FileAnalysis, failed int, err error)
RunPipeline analyses each file in `files`, printing a live Bubble Tea progress view when stdout is a TTY, or plain line-by-line output otherwise. Returns all FileAnalysis results (including stubs for failures) and a count of failures.
Types ¶
type Config ¶
Config holds the configuration collected by the wizard (or from CLI flags).
Click to show internal directories.
Click to hide internal directories.