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 } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/softwareupdate.ts" license = "MIT" [[commands.subcommand]] path = ["-l"] label = "List available updates" description = "List all appropriate update labels." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/softwareupdate.ts" license = "MIT" [[commands.subcommand.field]] id = "no_scan" label = "Skip scan, use cached updates" type = "boolean" option = ["--no-scan"] sources = ["fig"] [[commands.subcommand.field]] id = "verbose" label = "Verbose output" type = "boolean" option = ["--verbose"] sources = ["fig"] [[commands.subcommand.task]] id = "list" label = "List updates" fields = ["no_scan", "verbose"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["no_scan", "verbose"] [[commands.subcommand]] path = ["-i"] label = "Install updates" description = "Install updates by label or all recommended ones. Run with sudo." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/softwareupdate.ts" license = "MIT" [[commands.subcommand.field]] id = "labels" label = "Update labels" description = "Labels as printed by the list form." type = "string" position = 0 multiple = true sources = ["fig"] [[commands.subcommand.field]] id = "agree" label = "Agree to license" type = "boolean" option = ["--agree-to-license"] sources = ["fig"] [[commands.subcommand.field]] id = "force" label = "Force" type = "boolean" option = ["--force"] sources = ["fig"] [[commands.subcommand.field]] id = "no_scan" label = "Skip scan" type = "boolean" option = ["--no-scan"] sources = ["fig"] [[commands.subcommand.field]] id = "verbose" label = "Verbose output" type = "boolean" option = ["--verbose"] sources = ["fig"] [[commands.subcommand.task]] id = "install" label = "Install update" fields = ["labels", "agree", "verbose"] required = ["labels"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["labels", "agree", "verbose", "no_scan", "force"] [[commands.subcommand]] path = ["--history"] label = "Show install history" description = "Show the install history." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/softwareupdate.ts" license = "MIT" [[commands.subcommand.field]] id = "verbose" label = "Verbose output" type = "boolean" option = ["--verbose"] sources = ["fig"] [[commands.subcommand.task]] id = "history" label = "Show history" fields = ["verbose"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["verbose"]