MCPcopy Create free account
hub / github.com/algolia/cli / AskInputQuestionWithSuggestion

Function AskInputQuestionWithSuggestion

pkg/ask/ask.go:83–95  ·  view source on GitHub ↗
(
	message string,
	storage *string,
	defaultValue string,
	suggest func(toComplete string) []string,
	opts ...survey.AskOpt,
)

Source from the content-addressed store, hash-verified

81}
82
83func AskInputQuestionWithSuggestion(
84 message string,
85 storage *string,
86 defaultValue string,
87 suggest func(toComplete string) []string,
88 opts ...survey.AskOpt,
89) error {
90 return survey.AskOne(&survey.Input{
91 Message: message,
92 Default: defaultValue,
93 Suggest: suggest,
94 }, storage, opts...)
95}
96
97func AskBooleanQuestion(
98 message string,

Callers 1

AskImportConfigFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected