Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLongAnswerField ¶
func NewLongAnswerField() *longAnswerField
func NewShortAnswerField ¶
func NewShortAnswerField() *shortAnswerField
Types ¶
type InitPromptModel ¶
type InitPromptModel struct {
// contains filtered or unexported fields
}
InitPromptModel is a model for the init prompt
func InitialInitModel ¶
func InitialInitModel(exists bool) InitPromptModel
InitialInitModel returns an initial model for the init prompt
func (InitPromptModel) Init ¶
func (m InitPromptModel) Init() tea.Cmd
Init returns a command for the init prompt
func (*InitPromptModel) Next ¶
func (m *InitPromptModel) Next()
Next increments the index of the init prompt
func (InitPromptModel) View ¶
func (m InitPromptModel) View() string
View returns a string for the init prompt
type InitQuestion ¶
type InitQuestion struct {
// contains filtered or unexported fields
}
InitQuestion is a question for the init prompt
Click to show internal directories.
Click to hide internal directories.