Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PromptUserForValues ¶
func PromptUserForValues(in io.Reader, out io.Writer, variables []recipe.Variable, existingValues recipe.VariableValues) (recipe.VariableValues, error)
PromptUserForValues prompts the user for values for the given variables
Types ¶
type SurveyModel ¶
type SurveyModel struct {
// contains filtered or unexported fields
}
func NewModel ¶
func NewModel(variables []recipe.Variable, existingValues recipe.VariableValues) SurveyModel
func (SurveyModel) Init ¶
func (m SurveyModel) Init() tea.Cmd
func (SurveyModel) Values ¶
func (m SurveyModel) Values() recipe.VariableValues
func (SurveyModel) View ¶
func (m SurveyModel) View() string
Click to show internal directories.
Click to hide internal directories.