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

Function AskBooleanQuestion

pkg/ask/ask.go:97–107  ·  view source on GitHub ↗
(
	message string,
	storage *bool,
	defaultValue bool,
	opts ...survey.AskOpt,
)

Source from the content-addressed store, hash-verified

95}
96
97func AskBooleanQuestion(
98 message string,
99 storage *bool,
100 defaultValue bool,
101 opts ...survey.AskOpt,
102) error {
103 return survey.AskOne(&survey.Confirm{
104 Message: message,
105 Default: defaultValue,
106 }, storage, opts...)
107}

Callers 1

AskImportConfigFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected