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,
Error: The value 'AnotherPackageName' is invalid for '<output-formats>'
Usage: xcc generate <json-file> <output-path> [<output-formats> ...] [--exclude-targets <exclude-targets> ...] [--exclude-packages <exclude-packages> ...] [--verbose]
The items (excluding first item) which I pass for --exclude-packages is considered for output-formats.
How to fix this?
I am able to use this
xcccommand as per the instructions provided in the README file.However I am trying to provide array of packages for
--exclude-packagesparameter as follows,xcc generate coverage.json TargetDirectory cobertura-xml --exclude-packages Tests AnotherPackageName --verboseI get the following error,
The items (excluding first item) which I pass for
--exclude-packagesis considered foroutput-formats.How to fix this?