executor UI: extract StepsExecutionUI from TaskExecutionUI and implement it in TUI and JSON
Created by: mrnugget
This is a follow-up to https://github.com/sourcegraph/src-cli/pull/597 and splits up the existing interface into two.
That allows us to remove all formatting from runSteps
and executeSingleStep
and also provide more information for the JSON interface (e.g. when a step is finished).
Note: the OPERATION
and STATUS
fields in the logEvents
don't make a lot of sense. Happy to change everything there.