Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSurveyClient ¶
func NewSurveyClient(stdin term.FileReader, stdout term.FileWriter, stderr io.Writer) *surveyClient
func WithDefault ¶
func WithValidator ¶
Types ¶
type Controller ¶
type Controller interface {
RequestString(ctx context.Context, message, field string, opts ...func(*Options)) (string, error)
RequestEnum(ctx context.Context, message, field string, options []string) (string, error)
SetSupported(supported bool)
IsSupported() bool
}
func NewController ¶
func NewController(client Client) Controller
Click to show internal directories.
Click to hide internal directories.