Documentation
¶
Index ¶
- func ParseDataArgs(dataArgs []string) (map[string]interface{}, error)
- type AddComponentDelegate
- func (i AddComponentDelegate) FilterValue() string
- func (i AddComponentDelegate) Height() int
- func (i AddComponentDelegate) Render(w io.Writer, m list.Model, index int, listItem list.Item)
- func (i AddComponentDelegate) Spacing() int
- func (i AddComponentDelegate) Update(_ tea.Msg, _ *list.Model) tea.Cmd
- type AddModel
- type ListItem
- type UpdateModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseDataArgs ¶
ParseDataArgs parses --data arguments in key=value format
Types ¶
type AddComponentDelegate ¶
type AddComponentDelegate struct {
// contains filtered or unexported fields
}
func (AddComponentDelegate) FilterValue ¶
func (i AddComponentDelegate) FilterValue() string
func (AddComponentDelegate) Height ¶
func (i AddComponentDelegate) Height() int
func (AddComponentDelegate) Spacing ¶
func (i AddComponentDelegate) Spacing() int
type AddModel ¶
type AddModel struct {
RepoURLs []string
// contains filtered or unexported fields
}
func NewAddModel ¶
func NewAddModel() AddModel
type ListItem ¶
type ListItem struct {
// contains filtered or unexported fields
}
func (ListItem) Description ¶
TODO: Decide if we return something for description - don't think needed - it's really just us adhering to interface
func (ListItem) FilterValue ¶
type UpdateModel ¶
type UpdateModel struct {
ExitMessage string
ComponentUpdated bool
// contains filtered or unexported fields
}
func NewUpdateComponentModel ¶
func NewUpdateComponentModel(updateFlags copier.UpdateFlags) UpdateModel
func (UpdateModel) Init ¶
func (m UpdateModel) Init() tea.Cmd
func (UpdateModel) View ¶
func (m UpdateModel) View() string
Click to show internal directories.
Click to hide internal directories.