Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Title = lipgloss.NewStyle(). Bold(true). Foreground(lipgloss.Color("99")). MarginBottom(1) Subtitle = lipgloss.NewStyle(). Foreground(lipgloss.Color("241")) ScoreHigh = lipgloss.NewStyle(). Foreground(lipgloss.Color("42")). Bold(true) ScoreMedium = lipgloss.NewStyle(). Foreground(lipgloss.Color("214")) ScoreLow = lipgloss.NewStyle(). Foreground(lipgloss.Color("196")) Label = lipgloss.NewStyle(). Foreground(lipgloss.Color("99")). Bold(true) Error = lipgloss.NewStyle(). Foreground(lipgloss.Color("196")). Bold(true) Warning = lipgloss.NewStyle(). Foreground(lipgloss.Color("214")) Success = lipgloss.NewStyle(). Foreground(lipgloss.Color("42")) Muted = lipgloss.NewStyle(). Foreground(lipgloss.Color("241")) TableHeader = lipgloss.NewStyle(). Bold(true). Foreground(lipgloss.Color("99")). BorderBottom(true). BorderStyle(lipgloss.NormalBorder()). BorderForeground(lipgloss.Color("240")) TableCell = lipgloss.NewStyle(). Padding(0, 1) )
Functions ¶
func RenderIssueResults ¶
func RenderIssueResults(issues []ghapi.IssueResult, asJSON bool) error
func RenderRepoResults ¶
func RenderRepoResults(repos []scoring.ScoredRepo, asJSON bool) error
func ScoreStyle ¶
Types ¶
type SpinnerModel ¶
type SpinnerModel struct {
// contains filtered or unexported fields
}
func NewSpinner ¶
func NewSpinner(message string, work func() (any, error)) SpinnerModel
func (SpinnerModel) Init ¶
func (m SpinnerModel) Init() tea.Cmd
func (SpinnerModel) Result ¶
func (m SpinnerModel) Result() (any, error)
func (SpinnerModel) View ¶
func (m SpinnerModel) View() string
Click to show internal directories.
Click to hide internal directories.