Skip to content

How to pass Exclude packages Array #8

@jvigneshcs

Description

@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,

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions