Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // BitbucketBlue is the standard Bitbucket brand color. BitbucketBlue = lipgloss.Color("#0052CC") // Bitbucket blue Blue = lipgloss.NewStyle().Foreground(BitbucketBlue) // Status colors Green = lipgloss.NewStyle().Foreground(lipgloss.Color("#36B37E")) Red = lipgloss.NewStyle().Foreground(lipgloss.Color("#FF5630")) Yellow = lipgloss.NewStyle().Foreground(lipgloss.Color("#FFAB00")) Cyan = lipgloss.NewStyle().Foreground(lipgloss.Color("#00B8D9")) Muted = lipgloss.NewStyle().Foreground(lipgloss.Color("#97A0AF")) Bold = lipgloss.NewStyle().Bold(true) Header = lipgloss.NewStyle().Bold(true).Foreground(BitbucketBlue) Success = Green Error = Red Warning = Yellow )
Functions ¶
func RenderJSON ¶
func RenderJSON(v interface{}) error
RenderJSON outputs the given value as indented JSON.
func RenderMarkdown ¶
func RenderMarkdown(md string)
RenderMarkdown renders a markdown string for terminal display.
func RenderTable ¶
RenderTable outputs a formatted table with headers and rows.
func StatusColor ¶
StatusColor returns the appropriate style for a given status string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.