command

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelMsg

type CancelMsg struct{}

type EditorChangedMsg

type EditorChangedMsg struct {
	Editor string
}

type ErrorMsg

type ErrorMsg struct {
	Err error
}

type ExportMsg

type ExportMsg struct {
	Rows     []int
	All      bool
	Filename string
}

type LLMModelChangedMsg

type LLMModelChangedMsg struct {
	Model string
}

type LLMUseDatabaseSchemaMsg

type LLMUseDatabaseSchemaMsg struct {
	Enabled bool
}

type LeaderKeyChangedMsg added in v0.5.0

type LeaderKeyChangedMsg struct {
	Key string
}

type Model

type Model struct {
	// contains filtered or unexported fields
}

func New

func New() Model

func (Model) Focus

func (c Model) Focus() tea.Cmd

func (Model) Init

func (c Model) Init() tea.Cmd

func (Model) Reset

func (c Model) Reset()

func (*Model) SetStyles added in v0.7.0

func (c *Model) SetStyles(s styles.Styles)

func (Model) Update

func (c Model) Update(msg tea.Msg) (Model, tea.Cmd)

func (Model) View

func (c Model) View() string

type QuitMsg

type QuitMsg struct{}

type SaveSnippetMsg added in v0.6.0

type SaveSnippetMsg struct {
	Name string
}

Jump to

Keyboard shortcuts

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