Open jvigneshcs opened 3 years ago
Hi @jvigneshcs
sorry for the laaaaate answer. It is not supported for now. You will have to pass multiple --exclude-packages XXX instructions.
Perhaps we could do better with variadic arguments but I don't know if Swift Argument Parser allows that. If you have time you can take a look and make a PR, could be cool.
Thanks.
I think it does now @twittemb. Looks like it would be a pretty easy fix @jvigneshcs
I am able to use this
xcc
command as per the instructions provided in the README file. However I am trying to provide array of packages for--exclude-packages
parameter as follows,xcc generate coverage.json TargetDirectory cobertura-xml --exclude-packages Tests AnotherPackageName --verbose
I get the following error,
The items (excluding first item) which I pass for
--exclude-packages
is considered foroutput-formats
. How to fix this?