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