ask

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AskCommaSeparatedInputQuestion

func AskCommaSeparatedInputQuestion(message string, storage *[]string, defaultValues []string, opts ...survey.AskOpt) error

func AskInputQuestion

func AskInputQuestion(message string, storage *string, defaultValue string, opts ...survey.AskOpt) error

func AskSelectQuestion

func AskSelectQuestion(message string, storage *string, options []string, defaultValue string, opts ...survey.AskOpt) error

Types

type StringSlice

type StringSlice struct {
	// contains filtered or unexported fields
}

https://github.com/AlecAivazis/survey#custom-types

func (*StringSlice) WriteAnswer

func (my *StringSlice) WriteAnswer(name string, value interface{}) error

Jump to

Keyboard shortcuts

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