Documentation
¶
Index ¶
- type DefaultItemStyles
- type ProfileItem
- func (p ProfileItem) Description() string
- func (p ProfileItem) FilterValue() string
- func (p ProfileItem) GetDescription() string
- func (p ProfileItem) GetIsValidDescription() bool
- func (p ProfileItem) GetIsValidPath() bool
- func (p ProfileItem) GetIsValidShellVersion() bool
- func (p ProfileItem) GetName() string
- func (p ProfileItem) GetPath() string
- func (p ProfileItem) GetShell() string
- func (p ProfileItem) IsSelectedProfile() bool
- func (p ProfileItem) IsValidProfile() bool
- func (p ProfileItem) Title() string
- type ShellItem
- func (m ShellItem) Description() string
- func (m ShellItem) FilterValue() string
- func (m ShellItem) GetName() string
- func (m ShellItem) GetPath() string
- func (m ShellItem) GetShortName() string
- func (m ShellItem) GetShortNames() []string
- func (m ShellItem) IsSelectedShell() bool
- func (m ShellItem) Title() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultItemStyles ¶
type DefaultItemStyles struct { // The Normal state. NormalTitle lipgloss.Style NormalDesc lipgloss.Style // The selected item state. SelectedTitle lipgloss.Style SelectedDesc lipgloss.Style // The dimmed state, for when the filter input is initially activated. DimmedTitle lipgloss.Style DimmedDesc lipgloss.Style // Characters matching the current filter, if any. FilterMatch lipgloss.Style Checked lipgloss.Style }
type ProfileItem ¶
type ProfileItem struct { ItemTitle string ItemDescription string IsValid bool Path string Shell string Name string ShellVersion string IsValidPath bool IsValidShellVersion bool IsValidDescription bool IsSelected bool }
ProfileItem represents a profile item in the list
func (ProfileItem) Description ¶
func (p ProfileItem) Description() string
func (ProfileItem) FilterValue ¶
func (p ProfileItem) FilterValue() string
func (ProfileItem) GetDescription ¶
func (p ProfileItem) GetDescription() string
func (ProfileItem) GetIsValidDescription ¶
func (p ProfileItem) GetIsValidDescription() bool
func (ProfileItem) GetIsValidPath ¶
func (p ProfileItem) GetIsValidPath() bool
func (ProfileItem) GetIsValidShellVersion ¶
func (p ProfileItem) GetIsValidShellVersion() bool
func (ProfileItem) GetName ¶
func (p ProfileItem) GetName() string
func (ProfileItem) GetPath ¶
func (p ProfileItem) GetPath() string
func (ProfileItem) GetShell ¶
func (p ProfileItem) GetShell() string
func (ProfileItem) IsSelectedProfile ¶
func (p ProfileItem) IsSelectedProfile() bool
func (ProfileItem) IsValidProfile ¶
func (p ProfileItem) IsValidProfile() bool
func (ProfileItem) Title ¶
func (p ProfileItem) Title() string
type ShellItem ¶
type ShellItem struct { ItemTitle string Name string Path string ItemDescription string ShortName string ShortNames []string ProfilePaths []string IsSelected bool }
func (ShellItem) Description ¶
func (ShellItem) FilterValue ¶
func (ShellItem) GetShortName ¶
func (ShellItem) GetShortNames ¶
func (ShellItem) IsSelectedShell ¶
Click to show internal directories.
Click to hide internal directories.