plantain-00 / type-coverage

A CLI tool to check type coverage for typescript code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unclear documentation for CLI arguments

izi-p opened this issue ยท comments

Hello,

Thanks for the tool which is pretty cool. ๐Ÿ‘

yarn type-coverage --no-detail-when-failed does not work (detail is still displayed)

yarn type-coverage --no-detail-when-failed=true does work (detail is hidden)

This is not clear enough. It took me a bit to dig in the source code to understand it and I think the documentation is not clear enough on this point. ๐Ÿฅน

Thanks

It seems upstream minimist's bug: https://github.com/substack/minimist/issues/123

I updated the document.

It seems like this is an intended feature of minimist rather than a bug: minimistjs/minimist#38