{
  "description": "Log in to GOG, then download or repair installers for games matching a regular expression, for chosen platforms and languages. Listing, Galaxy, cloud-save and XML options are left out.",
  "options": [
    {
      "names": [
        "--login"
      ],
      "description": "Log in"
    },
    {
      "names": [
        "--download"
      ],
      "description": "Download"
    },
    {
      "names": [
        "--repair"
      ],
      "description": "With --download, re-downloads files whose size does not match; the old file is renamed with .old appended.",
      "isDangerous": true
    },
    {
      "names": [
        "--game"
      ],
      "description": "Perl-syntax regular expression matched against game names.",
      "args": {
        "name": "game",
        "description": "Perl-syntax regular expression matched against game names.",
        "isOptional": false
      }
    },
    {
      "names": [
        "--updated"
      ],
      "description": "Only updated games"
    },
    {
      "names": [
        "--directory"
      ],
      "description": "Download directory",
      "args": {
        "name": "directory",
        "isOptional": false,
        "template": "folders"
      }
    },
    {
      "names": [
        "--platform"
      ],
      "description": "w = Windows, m = Mac, l = Linux. Separate by comma for priority, plus to combine, e.g. l,w+m.",
      "args": {
        "name": "platform",
        "description": "w = Windows, m = Mac, l = Linux. Separate by comma for priority, plus to combine, e.g. l,w+m.",
        "isOptional": false,
        "suggestions": [
          {
            "name": "w+l",
            "description": "Windows and Linux"
          },
          {
            "name": "l",
            "description": "Linux"
          },
          {
            "name": "w",
            "description": "Windows"
          },
          {
            "name": "m",
            "description": "Mac"
          },
          {
            "name": "all",
            "description": "All"
          }
        ]
      }
    },
    {
      "names": [
        "--language"
      ],
      "description": "Languages",
      "args": {
        "name": "language",
        "isOptional": false,
        "suggestions": [
          {
            "name": "en",
            "description": "English"
          },
          {
            "name": "all",
            "description": "All languages"
          }
        ]
      }
    },
    {
      "names": [
        "--limit-rate"
      ],
      "description": "0 means unlimited.",
      "args": {
        "name": "limit_rate",
        "description": "0 means unlimited.",
        "isOptional": false
      }
    },
    {
      "names": [
        "--threads"
      ],
      "description": "Download threads",
      "args": {
        "name": "threads",
        "isOptional": false
      }
    }
  ],
  "name": "lgogdownloader"
}
