Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppActiveModel ¶
type AppActiveModel string
const ( AppActiveModelSourceLoader AppActiveModel = "SourceLoader" AppActiveModelPromptsForm AppActiveModel = "PromptsForm" AppActiveModelScaffolder AppActiveModel = "Scaffolder" )
type AppModel ¶
type AppModel struct {
CurrentState AppModelState
Source string
Destination string
ActiveModel AppActiveModel
SourceLoader tea.Model
PromptsForm tea.Model
Scaffolder tea.Model
ScfConfig *scfconfig.ScfConfig
CommandsToRun []*scfconfig.CommandsToRun
Err error
Width int
Height int
}
func NewAppModel ¶
type AppModelState ¶
type AppModelState int
const ( AppModelStateStateRunning AppModelState = iota AppModelStateStateComplete AppModelStateStateError )
Click to show internal directories.
Click to hide internal directories.