AlwaysOkPrompt returns a Prompt implementation that always returns true without user interaction.
()
| 184 | |
| 185 | // AlwaysOkPrompt returns a Prompt implementation that always returns true without user interaction. |
| 186 | func AlwaysOkPrompt() Prompt { |
| 187 | return func(message string, defaultValue bool) (bool, error) { |
| 188 | return true, nil |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | // WithEventProcessor configure component to get notified on Compose operation and progress events. |
| 193 | // Typically used to configure a progress UI |
no outgoing calls
no test coverage detected