MCPcopy Create free account
hub / github.com/coldbrewcloud/coldbrew-cli / askQuestion

Method askQuestion

commands/create/command.go:212–219  ·  view source on GitHub ↗
(description, question, defaultValue string)

Source from the content-addressed store, hash-verified

210}
211
212func (c *Command) askQuestion(description, question, defaultValue string) string {
213 if conv.B(c.commandFlags.Default) {
214 console.DetailWithResource(question, defaultValue)
215 return defaultValue
216 }
217
218 return console.AskQuestionWithNote(question, defaultValue, description)
219}

Callers 1

RunMethod · 0.95

Implementers 8

Commandcommands/clusterstatus/command.go
Commandcommands/deploy/command.go
Commandcommands/clusterdelete/command.go
Commandcommands/delete/command.go
Commandcommands/clustercreate/command.go
Commandcommands/create/command.go
Commandcommands/clusterscale/command.go
Commandcommands/status/command.go

Calls

no outgoing calls

Tested by

no test coverage detected