Documentation
¶
Index ¶
- func Ask(inputs []*survey.Question, response interface{}) error
- func AskOne(input *survey.Question, response interface{}) error
- func BoolInput(name string, message string, help string, required bool) *survey.Question
- func CaptureInputViaEditor(contents, pattern string) (result string, err error)
- func Confirm(message string) bool
- func SelectInput(name string, message string, help string, options []string, ...) *survey.Question
- func TextInput(name string, message string, help string, defaultValue string, required bool) *survey.Question
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureInputViaEditor ¶ added in v0.3.0
CaptureInputViaEditor is the high level function to use in this package in order to capture input from an editor.
The arguments have been tailored for our use of strings mostly in the rest of the CLI even though internally we're using []byte.
func SelectInput ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.