id = "tccutil" name = "tccutil" description = "Manages the macOS privacy (TCC) database." executables = ["tccutil"] platforms = ["macos"] [commands] format = 1 label = "Reset privacy permissions" description = "Reset the privacy permission of a service, optionally for a single app bundle id." quality = "ai-draft" base = "fig:tccutil" 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/tccutil.ts" license = "MIT" [[commands.field]] id = "action" label = "Action" type = "enum" position = 0 choices = [{ value = "reset", label = "Reset" }] sources = ["fig"] [[commands.field]] id = "service" label = "Service" type = "string" position = 1 suggestions = [{ value = "AppleEvents", label = "AppleEvents" }, { value = "BluetoothAlways", label = "BluetoothAlways" }, { value = "Calendar", label = "Calendar" }, { value = "Camera", label = "Camera" }, { value = "ContactsFull", label = "ContactsFull" }, { value = "Location", label = "Location" }, { value = "MediaLibrary", label = "MediaLibrary" }, { value = "Microphone", label = "Microphone" }, { value = "Motion", label = "Motion" }, { value = "Photos", label = "Photos" }] sources = ["fig"] [[commands.field]] id = "bundle_id" label = "Bundle ID" description = "Limit the reset to this app, e.g. com.apple.Terminal." type = "string" position = 2 sources = ["fig"] [[commands.task]] id = "reset" label = "Reset a service" set = { action = ["reset"] } lock = ["action"] fields = ["action", "service", "bundle_id"] required = ["action", "service"] [[commands.group]] id = "basic" label = "Basic" fields = ["action", "service", "bundle_id"]