id = "defaults" name = "defaults" description = "Command line interface to a user's defaults on macOS." executables = ["defaults"] platforms = ["macos"] [commands] format = 1 label = "Read or write defaults" description = "Read, write or delete preference values." quality = "ai-draft" base = "fig:defaults" 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/defaults.ts" license = "MIT" [[commands.subcommand]] path = ["read"] label = "Read a default" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/defaults.ts" license = "MIT" [[commands.subcommand.field]] id = "domain" label = "Domain" type = "string" position = 0 suggestions = [{ value = "-globalDomain", label = "Global domain" }] sources = ["fig"] [[commands.subcommand.field]] id = "key" label = "Key" type = "string" position = 1 sources = ["fig"] [[commands.subcommand.task]] id = "read" label = "Read value" fields = ["domain", "key"] required = ["domain"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["domain", "key"] [[commands.subcommand]] path = ["write"] label = "Write a default" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/defaults.ts" license = "MIT" [[commands.subcommand.field]] id = "domain" label = "Domain" type = "string" position = 0 suggestions = [{ value = "-globalDomain", label = "Global domain" }] sources = ["fig"] [[commands.subcommand.field]] id = "key" label = "Key" type = "string" position = 1 sources = ["fig"] [[commands.subcommand.field]] id = "value" label = "Value" type = "string" position = 2 sources = ["fig"] [[commands.subcommand.task]] id = "write" label = "Write value" fields = ["domain", "key", "value"] required = ["domain", "key", "value"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["domain", "key", "value"]