tty

package
v0.0.0-...-8de9a1b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	RenderAsciiTree bool
	Indent          int
}

type Renderer

type Renderer struct{}

func New

func New() *Renderer

func (*Renderer) DefaultOptions

func (r *Renderer) DefaultOptions() any

DefaultOptions returns the default options of the renderer

func (*Renderer) RenderNode

func (r *Renderer) RenderNode(opts options.Options, node *sbom.Node, info render.NodeGraphInfo) error

RenderNode renders a node to the terminal

Jump to

Keyboard shortcuts

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