{
  "version": "1.2.1",
  "commands": {
    "force:lightning:lwc:test:create": {
      "id": "force:lightning:lwc:test:create",
      "description": "creates a Lightning web component test file with boilerplate code inside a __tests__ directory.",
      "strict": true,
      "usage": "<%= command.id %> -f <string> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
      "pluginName": "@salesforce/sfdx-plugin-lwc-test",
      "pluginAlias": "@salesforce/sfdx-plugin-lwc-test",
      "pluginType": "core",
      "aliases": [],
      "examples": [
        "$ sfdx force:lightning:lwc:test:create -f force-app/main/default/lwc/myButton/myButton.js"
      ],
      "flags": {
        "json": {
          "name": "json",
          "type": "boolean",
          "description": "format output as json",
          "allowNo": false
        },
        "loglevel": {
          "name": "loglevel",
          "type": "option",
          "description": "logging level for this command invocation",
          "required": false,
          "helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
          "multiple": false,
          "options": [
            "trace",
            "debug",
            "info",
            "warn",
            "error",
            "fatal",
            "TRACE",
            "DEBUG",
            "INFO",
            "WARN",
            "ERROR",
            "FATAL"
          ],
          "default": "warn"
        },
        "filepath": {
          "name": "filepath",
          "type": "option",
          "char": "f",
          "description": "path to Lightning web component .js file to create a test for",
          "required": true,
          "multiple": false
        }
      },
      "args": {},
      "longDescription": "Creates a __tests__ directory in the specified directory. Creates a yourComponentName.test.js file with boilerplate code in the __tests__ directory.",
      "requiresProject": true,
      "flagsConfig": {
        "filepath": {
          "kind": "string",
          "char": "f",
          "description": "path to Lightning web component .js file to create a test for",
          "longDescription": "Path to Lightning web component .js file to create a test for.",
          "required": true,
          "input": [],
          "multiple": false,
          "type": "option"
        }
      }
    },
    "force:lightning:lwc:test:run": {
      "id": "force:lightning:lwc:test:run",
      "description": "invokes Lightning Web Components Jest unit tests.",
      "strict": true,
      "usage": "<%= command.id %> [-d | --watch] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
      "pluginName": "@salesforce/sfdx-plugin-lwc-test",
      "pluginAlias": "@salesforce/sfdx-plugin-lwc-test",
      "pluginType": "core",
      "aliases": [],
      "examples": [
        "$ sfdx force:lightning:lwc:test:run",
        "$ sfdx force:lightning:lwc:test:run -w"
      ],
      "flags": {
        "json": {
          "name": "json",
          "type": "boolean",
          "description": "format output as json",
          "allowNo": false
        },
        "loglevel": {
          "name": "loglevel",
          "type": "option",
          "description": "logging level for this command invocation",
          "required": false,
          "helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
          "multiple": false,
          "options": [
            "trace",
            "debug",
            "info",
            "warn",
            "error",
            "fatal",
            "TRACE",
            "DEBUG",
            "INFO",
            "WARN",
            "ERROR",
            "FATAL"
          ],
          "default": "warn"
        },
        "debug": {
          "name": "debug",
          "type": "boolean",
          "char": "d",
          "description": "run tests in debug mode",
          "allowNo": false,
          "exclusive": [
            "watch"
          ]
        },
        "watch": {
          "name": "watch",
          "type": "boolean",
          "description": "run tests in watch mode",
          "allowNo": false,
          "exclusive": [
            "debug"
          ]
        }
      },
      "args": {
        "passthrough": {
          "name": "passthrough"
        }
      },
      "longDescription": "Invokes Lightning Web Components Jest unit tests.",
      "requiresProject": true,
      "flagsConfig": {
        "debug": {
          "kind": "boolean",
          "char": "d",
          "description": "run tests in debug mode",
          "longDescription": "Runs tests in a Node process that an external debugger can connect to. The run pauses until the debugger is connected. For more information, see: https://jestjs.io/docs/en/troubleshooting",
          "exclusive": [
            "watch"
          ],
          "allowNo": false,
          "type": "boolean"
        },
        "watch": {
          "kind": "boolean",
          "description": "run tests in watch mode",
          "longDescription": "Runs tests when a watched file changes. Watched files include the component under test and any files it references.",
          "exclusive": [
            "debug"
          ],
          "allowNo": false,
          "type": "boolean"
        }
      }
    },
    "force:lightning:lwc:test:setup": {
      "id": "force:lightning:lwc:test:setup",
      "description": "install Jest unit testing tools for Lightning Web Components.",
      "strict": true,
      "usage": "<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
      "pluginName": "@salesforce/sfdx-plugin-lwc-test",
      "pluginAlias": "@salesforce/sfdx-plugin-lwc-test",
      "pluginType": "core",
      "aliases": [],
      "examples": [
        "$ sfdx force:lightning:lwc:test:setup"
      ],
      "flags": {
        "json": {
          "name": "json",
          "type": "boolean",
          "description": "format output as json",
          "allowNo": false
        },
        "loglevel": {
          "name": "loglevel",
          "type": "option",
          "description": "logging level for this command invocation",
          "required": false,
          "helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
          "multiple": false,
          "options": [
            "trace",
            "debug",
            "info",
            "warn",
            "error",
            "fatal",
            "TRACE",
            "DEBUG",
            "INFO",
            "WARN",
            "ERROR",
            "FATAL"
          ],
          "default": "warn"
        }
      },
      "args": {},
      "longDescription": "Installs Jest unit testing tools for Lightning Web Components. For more information, see the Lightning Web Components Dev Guide: https://developer.salesforce.com/docs/component-library/documentation/lwc/lwc.testing",
      "requiresProject": true
    }
  }
}