Documentation
¶
Overview ¶
tui/panel/panel.go
Package panel renders a titled key-value detail card. It is the standard presentation for "show one thing" command output (a credential profile, an endpoint, a configuration). Rich mode draws a bordered card with the title embedded in the top border, vertical breathing room, and aligned muted labels; Plain and Agent modes degrade to aligned label/value lines with no decoration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Panel ¶
type Panel struct {
// contains filtered or unexported fields
}
Panel is a fluent builder for a titled key-value card.
func (*Panel) Field ¶
Field appends one label/value pair. Values may be pre-styled (badges, colored text); alignment is ANSI-aware.
Click to show internal directories.
Click to hide internal directories.