Documentation
¶
Index ¶
- func IsFirstTimeUser() bool
- func Run() error
- type APIKeySetupModel
- type AnalyzeCompleteMsg
- type AnalyzeConfigModel
- type AppModel
- type GenerateCompleteMsg
- type GenerateConfigModel
- type HomeModel
- type NavigateMsg
- type OnboardingModel
- type OnboardingStep
- type PreviewModel
- type ResultsModel
- type RunConfig
- type RunningModel
- type Screen
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsFirstTimeUser ¶
func IsFirstTimeUser() bool
IsFirstTimeUser checks if any API key is configured
Types ¶
type APIKeySetupModel ¶
type APIKeySetupModel struct {
// contains filtered or unexported fields
}
func NewAPIKeySetupModel ¶
func NewAPIKeySetupModel() APIKeySetupModel
func (APIKeySetupModel) Init ¶
func (m APIKeySetupModel) Init() tea.Cmd
func (APIKeySetupModel) Update ¶
func (m APIKeySetupModel) Update(msg tea.Msg) (APIKeySetupModel, tea.Cmd)
func (APIKeySetupModel) View ¶
func (m APIKeySetupModel) View() string
type AnalyzeCompleteMsg ¶
type AnalyzeCompleteMsg struct {
Result interface{}
Err error
}
type AnalyzeConfigModel ¶
type AnalyzeConfigModel struct {
// contains filtered or unexported fields
}
func NewAnalyzeConfigModel ¶
func NewAnalyzeConfigModel() AnalyzeConfigModel
func (AnalyzeConfigModel) Init ¶
func (m AnalyzeConfigModel) Init() tea.Cmd
func (AnalyzeConfigModel) Update ¶
func (m AnalyzeConfigModel) Update(msg tea.Msg) (AnalyzeConfigModel, tea.Cmd)
func (AnalyzeConfigModel) View ¶
func (m AnalyzeConfigModel) View() string
type AppModel ¶
type AppModel struct {
// contains filtered or unexported fields
}
func NewAppModel ¶
func NewAppModel() AppModel
type GenerateCompleteMsg ¶
type GenerateCompleteMsg struct {
Results interface{}
Err error
}
type GenerateConfigModel ¶
type GenerateConfigModel struct {
// contains filtered or unexported fields
}
func NewGenerateConfigModel ¶
func NewGenerateConfigModel() GenerateConfigModel
func (GenerateConfigModel) Init ¶
func (m GenerateConfigModel) Init() tea.Cmd
func (GenerateConfigModel) Update ¶
func (m GenerateConfigModel) Update(msg tea.Msg) (GenerateConfigModel, tea.Cmd)
func (GenerateConfigModel) View ¶
func (m GenerateConfigModel) View() string
type HomeModel ¶
type HomeModel struct {
// contains filtered or unexported fields
}
func NewHomeModel ¶
func NewHomeModel() HomeModel
type OnboardingModel ¶
type OnboardingModel struct {
// contains filtered or unexported fields
}
func NewOnboardingModel ¶
func NewOnboardingModel() OnboardingModel
func (OnboardingModel) Init ¶
func (m OnboardingModel) Init() tea.Cmd
func (OnboardingModel) Update ¶
func (m OnboardingModel) Update(msg tea.Msg) (OnboardingModel, tea.Cmd)
func (OnboardingModel) View ¶
func (m OnboardingModel) View() string
type OnboardingStep ¶
type OnboardingStep int
Onboarding step
const ( StepWelcome OnboardingStep = iota StepSelectProvider StepEnterKey StepComplete )
type PreviewModel ¶
type PreviewModel struct {
// contains filtered or unexported fields
}
func NewPreviewModel ¶
func NewPreviewModel() PreviewModel
func (PreviewModel) Init ¶
func (m PreviewModel) Init() tea.Cmd
func (PreviewModel) SetConfig ¶
func (m PreviewModel) SetConfig(config RunConfig) PreviewModel
func (PreviewModel) Update ¶
func (m PreviewModel) Update(msg tea.Msg) (PreviewModel, tea.Cmd)
func (PreviewModel) View ¶
func (m PreviewModel) View() string
type ResultsModel ¶
type ResultsModel struct {
// contains filtered or unexported fields
}
func NewResultsModel ¶
func NewResultsModel() ResultsModel
func (ResultsModel) Init ¶
func (m ResultsModel) Init() tea.Cmd
func (ResultsModel) SetAnalysis ¶
func (m ResultsModel) SetAnalysis(result interface{}, err error) ResultsModel
func (ResultsModel) SetResults ¶
func (m ResultsModel) SetResults(results interface{}, err error) ResultsModel
func (ResultsModel) Update ¶
func (m ResultsModel) Update(msg tea.Msg) (ResultsModel, tea.Cmd)
func (ResultsModel) View ¶
func (m ResultsModel) View() string
type RunningModel ¶
type RunningModel struct {
// contains filtered or unexported fields
}
func NewRunningModel ¶
func NewRunningModel() RunningModel
func (RunningModel) Init ¶
func (m RunningModel) Init() tea.Cmd
func (RunningModel) SetConfig ¶
func (m RunningModel) SetConfig(config RunConfig) RunningModel
func (RunningModel) Update ¶
func (m RunningModel) Update(msg tea.Msg) (RunningModel, tea.Cmd)
func (RunningModel) View ¶
func (m RunningModel) View() string
Click to show internal directories.
Click to hide internal directories.