{
  "description": "Download and extract a prebuilt binary from a GitHub release (or a direct URL, local file, or repository). Config-file driven options such as download-all are not covered.",
  "options": [
    {
      "names": [
        "--tag",
        "-t"
      ],
      "description": "Use a tagged release instead of the latest.",
      "args": {
        "name": "tag",
        "description": "Use a tagged release instead of the latest.",
        "isOptional": false
      }
    },
    {
      "names": [
        "--pre-release"
      ],
      "description": "Include pre-releases"
    },
    {
      "names": [
        "--source"
      ],
      "description": "Download source code"
    },
    {
      "names": [
        "--to"
      ],
      "description": "Move to location",
      "args": {
        "name": "to",
        "isOptional": false,
        "template": "filepaths"
      },
      "isDangerous": true
    },
    {
      "names": [
        "--system",
        "-s"
      ],
      "description": "For example darwin/arm64, or all for every choice.",
      "args": {
        "name": "system",
        "description": "For example darwin/arm64, or all for every choice.",
        "isOptional": false,
        "suggestions": [
          {
            "name": "all",
            "description": "All"
          },
          {
            "name": "darwin/arm64",
            "description": "macOS (arm64)"
          },
          {
            "name": "darwin/amd64",
            "description": "macOS (amd64)"
          },
          {
            "name": "linux/amd64",
            "description": "Linux (amd64)"
          },
          {
            "name": "linux/arm64",
            "description": "Linux (arm64)"
          }
        ]
      }
    },
    {
      "names": [
        "--file",
        "-f"
      ],
      "description": "Glob selecting which files to extract.",
      "args": {
        "name": "file",
        "description": "Glob selecting which files to extract.",
        "isOptional": false
      }
    },
    {
      "names": [
        "--all"
      ],
      "description": "Extract all candidates"
    },
    {
      "names": [
        "--asset",
        "-a"
      ],
      "description": "Download an asset containing this string. Prefix with ^ to anti-match.",
      "args": {
        "name": "asset",
        "description": "Download an asset containing this string. Prefix with ^ to anti-match.",
        "isOptional": false,
        "isVariadic": true
      },
      "isRepeatable": true
    },
    {
      "names": [
        "--download-only",
        "-d"
      ],
      "description": "Stop after downloading the asset, without extracting."
    },
    {
      "names": [
        "--upgrade-only"
      ],
      "description": "Only if newer"
    },
    {
      "names": [
        "--sha256"
      ],
      "description": "Show SHA-256"
    },
    {
      "names": [
        "--verify-sha256"
      ],
      "description": "Verify SHA-256",
      "args": {
        "name": "verify_sha256",
        "isOptional": false
      }
    },
    {
      "names": [
        "--quiet",
        "-q"
      ],
      "description": "Quiet"
    }
  ],
  "args": [
    {
      "name": "target",
      "description": "A GitHub repository (user/repo), a direct URL, or a local file.",
      "isOptional": false
    }
  ],
  "name": "eget"
}
