tree

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(data any, opts ...options) error

Run creates a tree view for the given data and runs the interactive program

Types

type Styles

type Styles struct {
	KeyStyle    lipgloss.Style
	StringStyle lipgloss.Style
	NumberStyle lipgloss.Style
	BoolStyle   lipgloss.Style
	NullStyle   lipgloss.Style
	ObjectStyle lipgloss.Style
	ArrayStyle  lipgloss.Style

	SelectedStyle lipgloss.Style
	HeaderStyle   lipgloss.Style
	HelpStyle     lipgloss.Style
	FooterStyle   lipgloss.Style

	ExpandedSymbol  string
	CollapsedSymbol string
	LeafSymbol      string
}

Jump to

Keyboard shortcuts

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