{
  "name": "playwright",
  "subcommands": [
    {
      "name": "test",
      "description": "Run tests with Playwright Test",
      "options": [
        {
          "names": [
            "-g"
          ],
          "description": "Run the test with the title",
          "takes_arg": true,
          "arg": {
            "name": "title"
          }
        },
        {
          "names": [
            "--headed"
          ],
          "description": "Run tests in headed browsers"
        },
        {
          "names": [
            "--help",
            "-h"
          ],
          "description": "Display help for command"
        }
      ],
      "args": [
        {
          "name": "tests",
          "description": "Test files to run",
          "is_variadic": 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"
        }
      ],
      "args": [
        {
          "name": "browsers",
          "description": "Browser to install",
          "is_variadic": true,
          "suggestions": [
            "chromium",
            "chrome",
            "chrome-beta",
            "msedge",
            "msedge-beta",
            "msedge-dev",
            "firefox",
            "webkit"
          ]
        }
      ]
    }
  ],
  "options": [
    {
      "names": [
        "--version",
        "-V"
      ],
      "description": "Output the version number"
    },
    {
      "names": [
        "--help",
        "-h"
      ],
      "description": "Display help for command"
    }
  ]
}
