Documentation
¶
Index ¶
- func BlueprintLocalFilePicker(styles *stylespkg.Styles) (filepicker.Model, error)
- func ToFullBlueprintPath(blueprintFile, source string) string
- type BluelinkListItem
- type ClearSelectedBlueprintMsg
- type ItemDelegate
- type SelectBlueprintFileErrorMsg
- type SelectBlueprintLocalFileModel
- type SelectBlueprintModel
- type SelectBlueprintMsg
- type SelectBlueprintRemoteFileModel
- type SelectBlueprintSourceMsg
- type SelectBlueprintStartMsg
- type SelectModel
- type SelectWithPreviewModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlueprintLocalFilePicker ¶
func BlueprintLocalFilePicker(styles *stylespkg.Styles) (filepicker.Model, error)
BlueprintLocalFilePicker creates a new filepicker model for selecting a local blueprint file relative to the current working directory.
func ToFullBlueprintPath ¶
ToFullBlueprintPath returns the full path to the blueprint file based on the source.
Types ¶
type BluelinkListItem ¶
BluelinkListItem represents an item in a Bluelink list component.
func (BluelinkListItem) Description ¶
func (i BluelinkListItem) Description() string
func (BluelinkListItem) FilterValue ¶
func (i BluelinkListItem) FilterValue() string
func (BluelinkListItem) Title ¶
func (i BluelinkListItem) Title() string
type ClearSelectedBlueprintMsg ¶
type ClearSelectedBlueprintMsg struct{}
type ItemDelegate ¶
type ItemDelegate struct {
// contains filtered or unexported fields
}
ItemDelegate renders list items using Bluelink styles.
func (ItemDelegate) Height ¶
func (d ItemDelegate) Height() int
func (ItemDelegate) Spacing ¶
func (d ItemDelegate) Spacing() int
type SelectBlueprintFileErrorMsg ¶
type SelectBlueprintFileErrorMsg struct {
Err error
}
type SelectBlueprintLocalFileModel ¶
type SelectBlueprintLocalFileModel struct {
// contains filtered or unexported fields
}
func NewSelectBlueprintLocalFile ¶
func NewSelectBlueprintLocalFile( fp *filepicker.Model, styles *stylespkg.Styles, ) (*SelectBlueprintLocalFileModel, error)
func (SelectBlueprintLocalFileModel) Init ¶
func (m SelectBlueprintLocalFileModel) Init() tea.Cmd
func (SelectBlueprintLocalFileModel) View ¶
func (m SelectBlueprintLocalFileModel) View() string
type SelectBlueprintModel ¶
type SelectBlueprintModel struct {
// contains filtered or unexported fields
}
func NewSelectBlueprint ¶
func NewSelectBlueprint( blueprintFile string, autoSelect bool, action string, styles *stylespkg.Styles, fp *filepicker.Model, ) (*SelectBlueprintModel, error)
func (SelectBlueprintModel) Init ¶
func (m SelectBlueprintModel) Init() tea.Cmd
func (SelectBlueprintModel) View ¶
func (m SelectBlueprintModel) View() string
type SelectBlueprintMsg ¶
type SelectBlueprintRemoteFileModel ¶
type SelectBlueprintRemoteFileModel struct {
// contains filtered or unexported fields
}
func NewSelectBlueprintRemoteFile ¶
func NewSelectBlueprintRemoteFile( blueprintFile string, styles *stylespkg.Styles, ) *SelectBlueprintRemoteFileModel
func (SelectBlueprintRemoteFileModel) Init ¶
func (m SelectBlueprintRemoteFileModel) Init() tea.Cmd
func (SelectBlueprintRemoteFileModel) View ¶
func (m SelectBlueprintRemoteFileModel) View() string
type SelectBlueprintSourceMsg ¶
type SelectBlueprintSourceMsg struct {
Source string
}
type SelectBlueprintStartMsg ¶
type SelectBlueprintStartMsg struct {
Selection string
}
type SelectModel ¶
type SelectModel struct {
// contains filtered or unexported fields
}
func (SelectModel) Init ¶
func (m SelectModel) Init() tea.Cmd
func (SelectModel) View ¶
func (m SelectModel) View() string
type SelectWithPreviewModel ¶
type SelectWithPreviewModel struct {
// contains filtered or unexported fields
}
func NewSelectWithPreview ¶
func (SelectWithPreviewModel) Init ¶
func (m SelectWithPreviewModel) Init() tea.Cmd
func (SelectWithPreviewModel) View ¶
func (m SelectWithPreviewModel) View() string
Click to show internal directories.
Click to hide internal directories.