component

package
v0.2.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2025 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ListCmd = &cobra.Command{
	Use:   "list",
	Short: "List installed components.",
	RunE:  ListRunE,
}

Functions

func AddCmd added in v0.2.3

func AddCmd() *cobra.Command

func AddRunTea added in v0.2.11

func AddRunTea() ([]string, error)

func Cmd

func Cmd() *cobra.Command

func ListRunE added in v0.2.3

func ListRunE(_ *cobra.Command, _ []string) error

func PreRunE added in v0.2.3

func PreRunE(_ *cobra.Command, _ []string) error

func RunE added in v0.2.3

func RunE(_ *cobra.Command, args []string) error

func UpdateCmd added in v0.2.3

func UpdateCmd() *cobra.Command

func UpdatePreRunE added in v0.2.3

func UpdatePreRunE(_ *cobra.Command, _ []string) error

func UpdateRunE added in v0.2.3

func UpdateRunE(cmd *cobra.Command, args []string) error

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) Render added in v0.2.7

func (i AddComponentDelegate) Render(w io.Writer, m list.Model, index int, listItem list.Item)

func (AddComponentDelegate) Spacing added in v0.2.7

func (i AddComponentDelegate) Spacing() int

func (AddComponentDelegate) Update added in v0.2.7

func (i AddComponentDelegate) Update(_ tea.Msg, _ *list.Model) tea.Cmd

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

func (AddModel) Init added in v0.2.7

func (am AddModel) Init() tea.Cmd

func (AddModel) Update added in v0.2.7

func (am AddModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (AddModel) View added in v0.2.7

func (am AddModel) View() string

type ListItem added in v0.2.11

type ListItem struct {
	// contains filtered or unexported fields
}

func (ListItem) Description added in v0.2.11

func (i ListItem) Description() string

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

func (i ListItem) FilterValue() string

func (ListItem) Title added in v0.2.11

func (i ListItem) Title() string

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

func (Model) Init added in v0.2.3

func (m Model) Init() tea.Cmd

func (Model) Update added in v0.2.3

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View added in v0.2.3

func (m Model) View() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL