Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EditorQuestionTemplate = `` /* 714-byte string literal not displayed */
EditorQuestionTemplate is EXTENDED to change prompt text.
Functions ¶
func EditorName ¶ added in v1.0.0
EditorName gets editor from the editor command.
Types ¶
type EditorTemplateData ¶
type EditorTemplateData struct { survey.Editor EditorCommand string BlankAllowed bool Answer string ShowAnswer bool ShowHelp bool Config *survey.PromptConfig }
EditorTemplateData is EXTENDED to pass editor name (to use in prompt).
type JiraEditor ¶
type JiraEditor struct { *survey.Editor EditorCommand string BlankAllowed bool // contains filtered or unexported fields }
JiraEditor is EXTENDED from survey.Editor to enable different prompting behavior.
func (*JiraEditor) Prompt ¶
func (e *JiraEditor) Prompt(config *survey.PromptConfig) (interface{}, error)
Prompt is EXTENDED to get our overridden prompt called. This is straight copy-paste from survey.
Click to show internal directories.
Click to hide internal directories.