output

package
v0.208.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: Apache-2.0 Imports: 8 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const TUICommandAnnotation = "infer.tui"

TUICommandAnnotation marks commands whose terminal UI owns stdout.

Variables

This section is empty.

Functions

This section is empty.

Types

type Renderer

type Renderer struct {
	// contains filtered or unexported fields
}

Renderer owns the styles shared by non-TUI command output.

func NewRenderer

func NewRenderer() *Renderer

func (*Renderer) ColorsDisabled

func (r *Renderer) ColorsDisabled() bool

func (*Renderer) DisableColors

func (r *Renderer) DisableColors()

func (*Renderer) Field

func (r *Renderer) Field(label, value string) string

func (*Renderer) Hint

func (r *Renderer) Hint(text string) string

func (*Renderer) NewListTable

func (r *Renderer) NewListTable(headers ...string) *table.Table

func (*Renderer) PrintMarkdown

func (r *Renderer) PrintMarkdown(markdown string)

func (*Renderer) RenderMarkdown

func (r *Renderer) RenderMarkdown(markdown string) (string, error)

func (*Renderer) StatusIcon

func (r *Renderer) StatusIcon(enabled bool) string

func (*Renderer) StatusLegend

func (r *Renderer) StatusLegend() string

func (*Renderer) Title

func (r *Renderer) Title(title string) string

func (*Renderer) TraceTreeStyle

func (r *Renderer) TraceTreeStyle() styles.TreeStyle

Jump to

Keyboard shortcuts

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