static

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package static provides non-interactive terminal output components.

This package contains components for rendering formatted output that does not require user interaction, such as tables and formatted text displays.

Index

Constants

This section is empty.

Variables

View Source
var WorktreeTableHeaders = []string{"REPO", "BRANCH", "COMMIT", "CREATED", "PR", "NOTE"}

WorktreeTableHeaders are the column headers for worktree tables used by list and prune.

Functions

func RenderTable

func RenderTable(headers []string, rows [][]string) string

RenderTable creates a formatted table with proper column alignment. Headers and rows are rendered using lipgloss/table which automatically calculates column widths based on content. No borders are rendered.

func WorktreeTableRow added in v0.17.0

func WorktreeTableRow(wt git.Worktree) []string

WorktreeTableRow formats a git.Worktree as a table row matching WorktreeTableHeaders.

Types

This section is empty.

Jump to

Keyboard shortcuts

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