tui

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PrettyFormats = []string{string(Full), string(Compact)}

Functions

func PrintFormat

func PrintFormat(tag nsv.Tag, opts PlaygroundOptions)

func PrintSummary

func PrintSummary(vers []*nsv.Next, opts SummaryOptions)

Types

type PlaygroundOptions

type PlaygroundOptions struct {
	Out           io.Writer
	VersionFormat string
}

type Pretty

type Pretty string
const (
	Full    Pretty = "full"
	Compact Pretty = "compact"
)

type SummaryOptions

type SummaryOptions struct {
	NoColor bool
	Out     io.Writer
	Pretty  Pretty
}

Jump to

Keyboard shortcuts

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