prompt

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ask

func Ask(inputs []*survey.Question, response interface{}) error

func AskOne

func AskOne(input *survey.Question, response interface{}) error

func BoolInput

func BoolInput(name string, message string, help string, required bool) *survey.Question

func Confirm

func Confirm(message string) bool

func SelectInput

func SelectInput(name string, message string, help string, options []string, required bool) *survey.Question

func TextInput

func TextInput(name string, message string, help string, required bool) *survey.Question

func TextInputDefault

func TextInputDefault(name string, message string, help string, value string, required bool) *survey.Question

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL