Open tunnckoCore opened 8 years ago
@tunnckoCore I like this idea. Tap implements it by simply allowing a user to pass: --100
.
What if we did something similar where you could run, --check-coverage 95
, where 95
is any numeric value, and we used the first positional argument as a shorthand like you suggest?
Want to take a stab at this feature?
What if we did something similar where you could run
Yea. Looks good and meaningful, but there will have duplication of names nyc check-coverage --check-coverage 95
? or you mean flag to be for main nyc
command. Everything is just about to have shorter syntax.
Want to take a stab at this feature?
I'm not familiar with the codebase and don't have the time.
Hello! Just want to suggest new CLI flag for the
check-coverage
command executes it like all other flags are set to 100.instead
It looks visually better and shorter in the package.json.
Also why not to be more configurable like
--max 90
to sets everything to100
, butbranches
to 90.Better flag name?