Documentation
¶
Index ¶
- type ConfigModel
- func (m *ConfigModel) GetArchitectureChoice() config.ArchitectureChoice
- func (m *ConfigModel) GetDatabaseChoice() config.DatabaseChoice
- func (m *ConfigModel) GetDescription() string
- func (m *ConfigModel) GetDevOpsConfig() config.DevOpsConfig
- func (m *ConfigModel) GetDevOpsEnabled() bool
- func (m *ConfigModel) GetFrameworkChoice() config.FrameworkChoice
- func (m *ConfigModel) GetModulePath() string
- func (m *ConfigModel) GetOutputDir() string
- func (m *ConfigModel) GetProjectName() string
- func (m *ConfigModel) GetToolChoice() config.ToolChoice
- func (m *ConfigModel) Init() tea.Cmd
- func (m *ConfigModel) IsCancelled() bool
- func (m *ConfigModel) IsConfirmed() bool
- func (m *ConfigModel) IsStepComplete(step ConfigStep) bool
- func (m *ConfigModel) SetStep(step ConfigStep)
- func (m *ConfigModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m *ConfigModel) View() string
- type ConfigStep
- type MenuModel
- type ProgressModel
- func (m *ProgressModel) GetError() error
- func (m *ProgressModel) Init() tea.Cmd
- func (m *ProgressModel) IsFinished() bool
- func (m *ProgressModel) IsSuccess() bool
- func (m *ProgressModel) StartGeneration(config *config.ProjectConfig) tea.Cmd
- func (m *ProgressModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m *ProgressModel) View() string
- type SplashModel
- type TickMsg
- type VersionModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigModel ¶
type ConfigModel struct {
Step ConfigStep
// contains filtered or unexported fields
}
ConfigModel handles the project configuration flow
func NewConfigModel ¶
func NewConfigModel() *ConfigModel
NewConfigModel creates a new configuration model
func (*ConfigModel) GetArchitectureChoice ¶
func (m *ConfigModel) GetArchitectureChoice() config.ArchitectureChoice
func (*ConfigModel) GetDatabaseChoice ¶
func (m *ConfigModel) GetDatabaseChoice() config.DatabaseChoice
func (*ConfigModel) GetDescription ¶
func (m *ConfigModel) GetDescription() string
func (*ConfigModel) GetDevOpsConfig ¶
func (m *ConfigModel) GetDevOpsConfig() config.DevOpsConfig
func (*ConfigModel) GetDevOpsEnabled ¶
func (m *ConfigModel) GetDevOpsEnabled() bool
func (*ConfigModel) GetFrameworkChoice ¶
func (m *ConfigModel) GetFrameworkChoice() config.FrameworkChoice
func (*ConfigModel) GetModulePath ¶
func (m *ConfigModel) GetModulePath() string
func (*ConfigModel) GetOutputDir ¶
func (m *ConfigModel) GetOutputDir() string
func (*ConfigModel) GetProjectName ¶
func (m *ConfigModel) GetProjectName() string
func (*ConfigModel) GetToolChoice ¶
func (m *ConfigModel) GetToolChoice() config.ToolChoice
func (*ConfigModel) Init ¶
func (m *ConfigModel) Init() tea.Cmd
Init initializes the configuration model
func (*ConfigModel) IsCancelled ¶
func (m *ConfigModel) IsCancelled() bool
func (*ConfigModel) IsConfirmed ¶
func (m *ConfigModel) IsConfirmed() bool
func (*ConfigModel) IsStepComplete ¶
func (m *ConfigModel) IsStepComplete(step ConfigStep) bool
func (*ConfigModel) SetStep ¶
func (m *ConfigModel) SetStep(step ConfigStep)
func (*ConfigModel) View ¶
func (m *ConfigModel) View() string
View renders the current configuration step
type ConfigStep ¶
type ConfigStep int
ConfigStep represents the current step in configuration
const ( StepFramework ConfigStep = iota StepDatabase StepTool StepArchitecture StepDevOpsOptions StepDevOpsTools StepProjectDetails StepReview )
type MenuModel ¶
type MenuModel struct {
// contains filtered or unexported fields
}
func NewMenuModel ¶
func NewMenuModel() *MenuModel
func (*MenuModel) ResetSelected ¶
func (m *MenuModel) ResetSelected()
type ProgressModel ¶
type ProgressModel struct {
// contains filtered or unexported fields
}
ProgressModel handles project generation progress
func NewProgressModel ¶
func NewProgressModel() *ProgressModel
NewProgressModel creates a new progress model
func (*ProgressModel) GetError ¶
func (m *ProgressModel) GetError() error
func (*ProgressModel) Init ¶
func (m *ProgressModel) Init() tea.Cmd
Init initializes the progress model
func (*ProgressModel) IsFinished ¶
func (m *ProgressModel) IsFinished() bool
Getter methods for state checking
func (*ProgressModel) IsSuccess ¶
func (m *ProgressModel) IsSuccess() bool
func (*ProgressModel) StartGeneration ¶
func (m *ProgressModel) StartGeneration(config *config.ProjectConfig) tea.Cmd
StartGeneration starts the project generation process
type SplashModel ¶
type SplashModel struct {
// contains filtered or unexported fields
}
func NewSplashModel ¶
func NewSplashModel() *SplashModel
func (*SplashModel) Finished ¶
func (m *SplashModel) Finished() bool
func (*SplashModel) Init ¶
func (m *SplashModel) Init() tea.Cmd
func (*SplashModel) View ¶
func (m *SplashModel) View() string
type VersionModel ¶
type VersionModel struct {
// contains filtered or unexported fields
}
func NewVersionModel ¶
func NewVersionModel() *VersionModel
func (*VersionModel) Init ¶
func (m *VersionModel) Init() tea.Cmd
func (*VersionModel) Reset ¶
func (m *VersionModel) Reset()
func (*VersionModel) ShouldClose ¶
func (m *VersionModel) ShouldClose() bool
func (*VersionModel) View ¶
func (m *VersionModel) View() string
Click to show internal directories.
Click to hide internal directories.