Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInitHandler ¶
func NewInitHandler(scaffoldService types.ScaffoldService) types.InitHandler
func RunInitTUI ¶
RunInitTUI runs the init TUI flow and returns the selected strategy and project name
Types ¶
type InitScreen ¶
type InitScreen int
Screen types for init flow
const ( InitScreenStrategy InitScreen = iota InitScreenProjectName )
type InitTUIModel ¶
type InitTUIModel struct {
// contains filtered or unexported fields
}
InitTUIModel represents the init flow TUI state
func NewInitTUIModel ¶
func NewInitTUIModel(strategies []StrategyTemplate) InitTUIModel
func (InitTUIModel) Init ¶
func (m InitTUIModel) Init() tea.Cmd
func (InitTUIModel) View ¶
func (m InitTUIModel) View() string
type StrategyTemplate ¶
type StrategyTemplate struct {
Name string
DisplayName string
Description string
Icon string
SDKExample string // Maps to SDK examples directory
}
Strategy templates
func LoadStrategies ¶
func LoadStrategies() ([]StrategyTemplate, error)
LoadStrategies loads strategy metadata from SDK or uses fallback
Click to show internal directories.
Click to hide internal directories.