{
  "id": "softwareupdate",
  "name": "softwareupdate",
  "description": "macOS command-line software update tool.",
  "executables": [
    "softwareupdate"
  ],
  "platforms": [
    "macos"
  ],
  "commands": {
    "format": 1,
    "label": "Software Update",
    "description": "List or install macOS updates. Pick the list or install form; installs normally need sudo.",
    "quality": "ai-draft",
    "base": "fig:softwareupdate",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/softwareupdate.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "-l"
        ],
        "label": "List available updates",
        "description": "List all appropriate update labels.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/softwareupdate.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "no_scan",
            "label": "Skip scan, use cached updates",
            "type": "boolean",
            "option": [
              "--no-scan"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "verbose",
            "label": "Verbose output",
            "type": "boolean",
            "option": [
              "--verbose"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "list",
            "label": "List updates",
            "fields": [
              "no_scan",
              "verbose"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "no_scan",
              "verbose"
            ]
          }
        ]
      },
      {
        "path": [
          "-i"
        ],
        "label": "Install updates",
        "description": "Install updates by label or all recommended ones. Run with sudo.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/softwareupdate.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "labels",
            "label": "Update labels",
            "description": "Labels as printed by the list form.",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "agree",
            "label": "Agree to license",
            "type": "boolean",
            "option": [
              "--agree-to-license"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "force",
            "label": "Force",
            "type": "boolean",
            "option": [
              "--force"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_scan",
            "label": "Skip scan",
            "type": "boolean",
            "option": [
              "--no-scan"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "verbose",
            "label": "Verbose output",
            "type": "boolean",
            "option": [
              "--verbose"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "install",
            "label": "Install update",
            "fields": [
              "labels",
              "agree",
              "verbose"
            ],
            "required": [
              "labels"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "labels",
              "agree",
              "verbose",
              "no_scan",
              "force"
            ]
          }
        ]
      },
      {
        "path": [
          "--history"
        ],
        "label": "Show install history",
        "description": "Show the install history.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/softwareupdate.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "verbose",
            "label": "Verbose output",
            "type": "boolean",
            "option": [
              "--verbose"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "history",
            "label": "Show history",
            "fields": [
              "verbose"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "verbose"
            ]
          }
        ]
      }
    ]
  }
}
