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