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

Method Say

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

Source from the content-addressed store, hash-verified

94}
95
96func (ui *terminalUI) Say(message string, args ...interface{}) {
97 if len(args) == 0 {
98 _, _ = ui.printer.Printf("%s\n", message)
99 } else {
100 _, _ = ui.printer.Printf(message+"\n", args...)
101 }
102}
103
104func (ui *terminalUI) Warn(message string, args ...interface{}) {
105 message = fmt.Sprintf(message, args...)

Callers 7

AskForPasswordMethod · 0.95
PrintPaginatorMethod · 0.95
WarnMethod · 0.95
OkMethod · 0.95
FailedMethod · 0.95
ShowConfigurationMethod · 0.95
NotifyUpdateIfNeededMethod · 0.95

Calls 1

PrintfMethod · 0.65

Tested by

no test coverage detected