MCPcopy Create free account
hub / github.com/HashLoad/boss / getParamBoolean

Function getParamBoolean

cmd/login.go:114–117  ·  view source on GitHub ↗
(msgS string)

Source from the content-addressed store, hash-verified

112}
113
114func getParamBoolean(msgS string) bool {
115 msg.Print(msgS + "(y or n): ")
116 return msg.PromptUntilYorN()
117}

Callers 1

loginFunction · 0.85

Calls 2

PrintFunction · 0.92
PromptUntilYorNFunction · 0.92

Tested by

no test coverage detected