When a runtime executes a CLI commands which fails, get the stdout/stderr, and send it to the command, so the stdout/stderr can be shown to the user.
A pattern similar to the StepLogger can be used, passing an interface to the manager/runtime:
type Logger interface {
Stdout() io.Writer
Stderr() io.Writer
}
Add a --show-logs flag to the appropriate commands
When a runtime executes a CLI commands which fails, get the stdout/stderr, and send it to the command, so the stdout/stderr can be shown to the user.
A pattern similar to the StepLogger can be used, passing an interface to the manager/runtime:
Add a
--show-logsflag to the appropriate commands