Closed lbdm44 closed 4 years ago
As a consumer of ember-cli-checkup, I should be able to output the results as JSON so that I can easily consume them by an ETL process.
ResultWriter
toConsole
toJson
ResultConsoleWriter
Potential JSON result:
"tasks":[ { "types":{ } }, { "tests":{ } } ], "dependencies":{ }, "type":"application", "name":"overly-complex-ember-storefront", "version":"0.0.0" }```
As a consumer of ember-cli-checkup, I should be able to output the results as JSON so that I can easily consume them by an ETL process.
ResultWriter
class which would be responsible for outputting the result of all tasks.ResultWriter
should have atoConsole
andtoJson
methodResultConsoleWriter
in favor ofResultWriter
Potential JSON result: