Documentation
¶
Index ¶
Constants ¶
View Source
const ( ContextName focusable = iota Port User PrivateKeyFile KnownHostsFile GcloudProject GcloudRegion GcloudCluster GcloudConfig GcloudName Submit )
Variables ¶
Functions ¶
func SaveConfig ¶
Types ¶
type Model ¶
type Model struct {
Inputs []Input
Focused focusable
Aborted bool
StatusMessage string
Config *types.Config
Styles *Styles
Help string
Fp filepicker.Model
FilePickerActive bool
FilePickerField focusable
Width int
Height int
}
func InitialModel ¶
type Styles ¶
type Styles struct {
Border lipgloss.Style
Label lipgloss.Style
Title lipgloss.Style
Help lipgloss.Style
Err lipgloss.Style
ErrText lipgloss.Style
Focused lipgloss.Style
Blurred lipgloss.Style
NoStyle lipgloss.Style
Button lipgloss.Style
InputFocused lipgloss.Style
InputUnfocused lipgloss.Style
}
func DefaultStyles ¶
func DefaultStyles() *Styles
Click to show internal directories.
Click to hide internal directories.