UNPKG

apex-code-coverage-transformer

Version:

Transform Salesforce Apex code coverage JSONs into other formats accepted by SonarQube, GitHub, GitLab, Azure, Bitbucket, etc.

100 lines 3.49 kB
{ "commands": { "acc-transformer:transform": { "aliases": [], "args": {}, "description": "Transform Salesforce Apex code coverage JSONs created during deployments and test runs into other formats accepted by SonarQube, GitHub, GitLab, Azure, Bitbucket, etc.", "examples": [ "`sf acc-transformer transform -j \"coverage.json\" -r \"coverage.xml\" -f \"sonar\"`", "`sf acc-transformer transform -j \"coverage.json\" -r \"coverage.xml\" -f \"cobertura\"`", "`sf acc-transformer transform -j \"coverage.json\" -r \"coverage.xml\" -f \"clover\"`", "`sf acc-transformer transform -j \"coverage.json\" -r \"coverage.info\" -f \"lcovonly\"`", "`sf acc-transformer transform -j \"coverage.json\" -i \"force-app\"`" ], "flags": { "json": { "description": "Format output as json.", "helpGroup": "GLOBAL", "name": "json", "allowNo": false, "type": "boolean" }, "flags-dir": { "helpGroup": "GLOBAL", "name": "flags-dir", "summary": "Import flag values from a directory.", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "coverage-json": { "char": "j", "name": "coverage-json", "required": true, "summary": "Path to the code coverage JSON file created by the Salesforce CLI deploy or test command.", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "output-report": { "char": "r", "name": "output-report", "required": true, "summary": "Path to the code coverage file that will be created by this plugin.", "default": "coverage.xml", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "format": { "char": "f", "name": "format", "required": false, "summary": "Output format for the coverage report.", "hasDynamicHelp": false, "multiple": true, "options": [ "sonar", "cobertura", "clover", "lcovonly", "jacoco", "json" ], "type": "option" }, "ignore-package-directory": { "char": "i", "name": "ignore-package-directory", "required": false, "summary": "Ignore a package directory when looking for matching files in the coverage report.", "hasDynamicHelp": false, "multiple": true, "type": "option" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "acc-transformer:transform", "pluginAlias": "apex-code-coverage-transformer", "pluginName": "apex-code-coverage-transformer", "pluginType": "core", "strict": true, "summary": "Transform Salesforce Apex code coverage JSONs created during deployments and test runs into other formats accepted by SonarQube, GitHub, GitLab, Azure, Bitbucket, etc.", "enableJsonFlag": true, "isESM": true, "relativePath": [ "lib", "commands", "acc-transformer", "transform.js" ], "aliasPermutations": [], "permutations": [ "acc-transformer:transform", "transform:acc-transformer" ] } }, "version": "2.13.3" }