{
  "name": "playwright",
  "options": [
    {
      "names": [
        "--version",
        "-V"
      ],
      "description": "Output the version number"
    },
    {
      "names": [
        "--help",
        "-h"
      ],
      "description": "Display help for command",
      "priority": 1
    }
  ],
  "subcommands": [
    {
      "name": "test",
      "description": "Run tests with Playwright Test",
      "options": [
        {
          "names": [
            "-g"
          ],
          "description": "Run the test with the title",
          "args": [
            {
              "name": "title"
            }
          ]
        },
        {
          "names": [
            "--headed"
          ],
          "description": "Run tests in headed browsers"
        },
        {
          "names": [
            "--help",
            "-h"
          ],
          "description": "Display help for command",
          "priority": 1
        }
      ],
      "args": [
        {
          "name": "tests",
          "description": "Test files to run",
          "isOptional": true,
          "isVariadic": true,
          "template": "filepaths"
        }
      ]
    },
    {
      "name": "install",
      "description": "Running without arguments will install default browsers",
      "options": [
        {
          "names": [
            "--with-deps"
          ],
          "description": "Install system dependencies for browsers"
        },
        {
          "names": [
            "--help",
            "-h"
          ],
          "description": "Display help for command",
          "priority": 1
        }
      ],
      "args": [
        {
          "name": "browsers",
          "description": "Browser to install",
          "isOptional": true,
          "isVariadic": true,
          "suggestions": [
            "chromium",
            "chrome",
            "chrome-beta",
            "msedge",
            "msedge-beta",
            "msedge-dev",
            "firefox",
            "webkit"
          ]
        }
      ]
    }
  ]
}
