(label string, run func() error)
| 372 | } |
| 373 | |
| 374 | func (s *IOStreams) RunWithProgress(label string, run func() error) error { |
| 375 | s.StartProgressIndicatorWithLabel(label) |
| 376 | defer s.StopProgressIndicator() |
| 377 | |
| 378 | return run() |
| 379 | } |
| 380 | |
| 381 | func (s *IOStreams) StartAlternateScreenBuffer() { |
| 382 | if s.alternateScreenBufferEnabled { |
nothing calls this directly
no test coverage detected