This PR refactors progress report on the Clean command to add more semantics to the reported values and reduce temporal coupling induced by the current Console protocol.
ProgressReport is introduced as a dependency that let us report events that happen in the process of running a command. It lets us report events that can be in different states. The decision on what to do with such events is deferred to a concrete implementation.
This PR refactors progress report on the Clean command to add more semantics to the reported values and reduce temporal coupling induced by the current
Console
protocol.ProgressReport
is introduced as a dependency that let us report events that happen in the process of running a command. It lets us report events that can be in different states. The decision on what to do with such events is deferred to a concrete implementation.