Documentation
¶
Index ¶
- Variables
- func AddCmd() *cobra.Command
- func AddRunTea() ([]string, error)
- func Cmd() *cobra.Command
- func ListRunE(_ *cobra.Command, _ []string) error
- func PreRunE(_ *cobra.Command, _ []string) error
- func RunE(_ *cobra.Command, args []string) error
- func UpdateCmd() *cobra.Command
- func UpdatePreRunE(_ *cobra.Command, _ []string) error
- func UpdateRunE(cmd *cobra.Command, args []string) 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 Model
Constants ¶
This section is empty.
Variables ¶
View Source
var ListCmd = &cobra.Command{ Use: "list", Short: "List installed components.", RunE: ListRunE, }
Functions ¶
Types ¶
type AddComponentDelegate ¶ added in v0.2.7
type AddComponentDelegate struct {
// contains filtered or unexported fields
}
func (AddComponentDelegate) FilterValue ¶ added in v0.2.7
func (i AddComponentDelegate) FilterValue() string
func (AddComponentDelegate) Height ¶ added in v0.2.7
func (i AddComponentDelegate) Height() int
func (AddComponentDelegate) Spacing ¶ added in v0.2.7
func (i AddComponentDelegate) Spacing() int
type AddModel ¶ added in v0.2.7
type AddModel struct {
RepoURLs []string
// contains filtered or unexported fields
}
func NewAddModel ¶ added in v0.2.7
func NewAddModel() AddModel
type ListItem ¶ added in v0.2.11
type ListItem struct {
// contains filtered or unexported fields
}
func (ListItem) Description ¶ added in v0.2.11
TODO: Decide if we return something for description - don't think needed - it's really just us adhering to interface
func (ListItem) FilterValue ¶ added in v0.2.11
type Model ¶ added in v0.2.3
type Model struct {
// contains filtered or unexported fields
}
func NewUpdateComponentModel ¶ added in v0.2.3
func NewUpdateComponentModel() Model
Click to show internal directories.
Click to hide internal directories.