id = "pkgutil" name = "pkgutil" description = "Query and manipulate macOS Installer packages and receipts." executables = ["pkgutil"] platforms = ["macos"] [commands] format = 1 label = "List installed packages" description = "List installed package IDs, optionally filtered by a regular expression. Per-package queries such as --files and --pkg-info are not covered." quality = "ai-draft" base = "fig:pkgutil" 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/pkgutil.ts" license = "MIT" [[commands.field]] id = "pkgs" label = "Package ID regex" type = "string" option = ["--pkgs"] sources = ["fig"] [[commands.field]] id = "volume" label = "Volume" type = "path" option = ["--volume"] path = { kind = "directory", role = "input" } sources = ["fig"] [[commands.field]] id = "verbose" label = "Human-readable output" type = "boolean" option = ["--verbose", "-v"] sources = ["fig"] [[commands.task]] id = "search" label = "Find packages by regex" fields = ["pkgs"] required = ["pkgs"] [[commands.group]] id = "basic" label = "Basic" fields = ["pkgs", "volume"] [[commands.group]] id = "advanced" label = "Advanced" fields = ["verbose"]