cmd

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SpinnerFrames = []string{"⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"} //nolint:gochecknoglobals // constant spinner frames

SpinnerFrames contains the Braille animation frames for loading spinners.

Functions

func Execute

func Execute()

Types

type Theme

type Theme struct {
	// Colors
	Primary lipgloss.Color
	Success lipgloss.Color
	Error   lipgloss.Color
	Subtle  lipgloss.Color
	Accent  lipgloss.Color
	White   lipgloss.Color
	Gold    lipgloss.Color
	Dark    lipgloss.Color

	// Common styles
	Title       lipgloss.Style
	Section     lipgloss.Style
	Divider     lipgloss.Style
	Dim         lipgloss.Style
	Info        lipgloss.Style
	SuccessText lipgloss.Style
	ErrorText   lipgloss.Style
	HelpText    lipgloss.Style
	Description lipgloss.Style

	// Chat-specific styles
	UserPrompt      lipgloss.Style
	AssistantPrompt lipgloss.Style

	// Command/flag styles (for help)
	Command lipgloss.Style
	Flag    lipgloss.Style
	Example lipgloss.Style
}

Theme holds all lipgloss styles for consistent UI across commands.

func DefaultTheme

func DefaultTheme() *Theme

DefaultTheme returns the default theme with Synthetic colors.

func (*Theme) SpinnerStyle

func (t *Theme) SpinnerStyle() lipgloss.Style

SpinnerStyle returns a style for the thinking spinner.

Jump to

Keyboard shortcuts

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