MCPcopy Index your code
hub / github.com/cloudfoundry/cli / Warn

Method Warn

cf/terminal/ui.go:104–108  ·  view source on GitHub ↗
(message string, args ...interface{})

Source from the content-addressed store, hash-verified

102}
103
104func (ui *terminalUI) Warn(message string, args ...interface{}) {
105 message = fmt.Sprintf(message, args...)
106 ui.Say(WarningColor(message))
107 return
108}
109
110func (ui *terminalUI) Ask(prompt string) string {
111 fmt.Fprintf(ui.stdout, "\n%s%s ", prompt, PromptColor(">"))

Callers 1

confirmDeleteMethod · 0.95

Calls 2

SayMethod · 0.95
WarningColorFunction · 0.85

Tested by

no test coverage detected