plantain-00 / type-coverage

A CLI tool to check type coverage for typescript code
MIT License
1.26k stars 44 forks source link

[Feature request] save the results in a file. #25

Open koenverburg opened 5 years ago

koenverburg commented 5 years ago

I'm using your tool for the type coverage but at this point, it doesn't have an option to write the results to a file. I would like this feature because I can show this to the project team and to other people at the office/stakeholders/clients etc.

If I have time I will submit a pull request.

plantain-00 commented 5 years ago

If you just save the CLI result, type-coverage > a.txt can do it. If you want to do more complex things about the result, there is a API available: https://github.com/plantain-00/type-coverage#api