bow-swift / nef

💊 steroids for Xcode Playgrounds
https://nef.bow-swift.io
Other
267 stars 6 forks source link

Refactor progress report on Clean Command #151

Closed truizlop closed 4 years ago

truizlop commented 4 years ago

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.