render

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Icons = map[string]string{
	"repo":       "\uf1d3",
	"fork":       "\uf402",
	"clone":      "\uf24d",
	"branch":     "\ue725",
	"commit":     "\uf417",
	"remote":     "\uf0c2",
	"dirty":      "\uf044",
	"clean":      "\uf00c",
	"unpushed":   "\uf062",
	"stash":      "\uf187",
	"calendar":   "\uf073",
	"error":      "\uf071",
	"no_contrib": "\uf05e",
	"folder":     "\uf07b",
}

Nerdfont icons

Functions

func GetAdvice

func GetAdvice(info *analyzer.RepoInfo) []string

func PrintLegend

func PrintLegend()

func RenderJSON

func RenderJSON(repos []analyzer.RepoInfo)

func RenderRepo

func RenderRepo(info *analyzer.RepoInfo, opts Options)

func RenderRepos

func RenderRepos(repos []analyzer.RepoInfo, opts Options)

RenderRepos renders multiple repos with optional LLM advice

func RenderTable

func RenderTable(repos []analyzer.RepoInfo)

Types

type Options

type Options struct {
	Verbose    bool
	ShowAdvice bool
	ShowAll    bool
	UseJSON    bool
	LLMOpts    *llmadvice.Options
}

Jump to

Keyboard shortcuts

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