Move the reporting to the user outside of the core module. The CLI file takes the data that is returned by the module and feeds that to a new reporter module. In the future, (#75) this includes error reporting as well.
A few modules needed refactoring to make this happen:
The loglevel in the logger can be updated during runtime
The parser-stats module is removed in favour of this new module
The index, exposes the src and dest folder from the config setting, we need the dest folder to let the user know where to find the modified files
Move the reporting to the user outside of the core module. The CLI file takes the data that is returned by the module and feeds that to a new reporter module. In the future, (#75) this includes error reporting as well.
A few modules needed refactoring to make this happen:
logger
can be updated during runtimeparser-stats
module is removed in favour of this new modulesrc
anddest
folder from the config setting, we need thedest
folder to let the user know where to find the modified files