Documentation
¶
Index ¶
- func SelectGitignoreMode() (string, error)
- func SelectMCPs(availableMCPs []models.MCPTemplate) ([]models.MCPTemplate, error)
- func SelectTemplate() (string, error)
- type GitignoreModeOption
- type GitignoreModeSelectorModel
- type MCPSelectorModel
- func (m MCPSelectorModel) GetSelectedMCPs() []models.MCPTemplate
- func (m MCPSelectorModel) Init() tea.Cmd
- func (m MCPSelectorModel) IsConfirmed() bool
- func (m MCPSelectorModel) IsQuitting() bool
- func (m MCPSelectorModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m MCPSelectorModel) View() string
- type TemplateSelectorModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SelectGitignoreMode ¶
SelectGitignoreMode runs the interactive gitignore mode selector and returns the selected mode ID
func SelectMCPs ¶
func SelectMCPs(availableMCPs []models.MCPTemplate) ([]models.MCPTemplate, error)
SelectMCPs runs the interactive MCP selector and returns the selected MCPs
func SelectTemplate ¶
SelectTemplate runs the interactive template selector and returns the selected template ID
Types ¶
type GitignoreModeOption ¶
GitignoreModeOption represents a gitignore mode choice
type GitignoreModeSelectorModel ¶
type GitignoreModeSelectorModel struct {
// contains filtered or unexported fields
}
GitignoreModeSelectorModel represents the state of the gitignore mode selector
func NewGitignoreModeSelectorModel ¶
func NewGitignoreModeSelectorModel() GitignoreModeSelectorModel
NewGitignoreModeSelectorModel creates a new gitignore mode selector model
func (GitignoreModeSelectorModel) GetSelectedMode ¶
func (m GitignoreModeSelectorModel) GetSelectedMode() string
GetSelectedMode returns the selected gitignore mode ID
func (GitignoreModeSelectorModel) Init ¶
func (m GitignoreModeSelectorModel) Init() tea.Cmd
Init is called when the program starts
func (GitignoreModeSelectorModel) IsQuitting ¶
func (m GitignoreModeSelectorModel) IsQuitting() bool
IsQuitting returns whether the user cancelled the selection
func (GitignoreModeSelectorModel) View ¶
func (m GitignoreModeSelectorModel) View() string
View renders the gitignore mode selector UI
type MCPSelectorModel ¶
type MCPSelectorModel struct {
// contains filtered or unexported fields
}
MCPSelectorModel represents the state of the MCP selector
func NewMCPSelectorModel ¶
func NewMCPSelectorModel(mcps []models.MCPTemplate) MCPSelectorModel
NewMCPSelectorModel creates a new MCP selector model
func (MCPSelectorModel) GetSelectedMCPs ¶
func (m MCPSelectorModel) GetSelectedMCPs() []models.MCPTemplate
GetSelectedMCPs returns the list of selected MCP templates
func (MCPSelectorModel) Init ¶
func (m MCPSelectorModel) Init() tea.Cmd
Init is called when the program starts
func (MCPSelectorModel) IsConfirmed ¶
func (m MCPSelectorModel) IsConfirmed() bool
IsConfirmed returns whether the user confirmed their selection
func (MCPSelectorModel) IsQuitting ¶
func (m MCPSelectorModel) IsQuitting() bool
IsQuitting returns whether the user cancelled the selection
func (MCPSelectorModel) View ¶
func (m MCPSelectorModel) View() string
View renders the MCP selector UI
type TemplateSelectorModel ¶
type TemplateSelectorModel struct {
// contains filtered or unexported fields
}
TemplateSelectorModel represents the state of the template selector
func NewTemplateSelectorModel ¶
func NewTemplateSelectorModel() TemplateSelectorModel
NewTemplateSelectorModel creates a new template selector model
func (TemplateSelectorModel) GetSelectedTemplate ¶
func (m TemplateSelectorModel) GetSelectedTemplate() string
GetSelectedTemplate returns the selected template ID
func (TemplateSelectorModel) Init ¶
func (m TemplateSelectorModel) Init() tea.Cmd
Init is called when the program starts
func (TemplateSelectorModel) IsQuitting ¶
func (m TemplateSelectorModel) IsQuitting() bool
IsQuitting returns whether the user cancelled the selection
func (TemplateSelectorModel) View ¶
func (m TemplateSelectorModel) View() string
View renders the template selector UI