id = "asr" name = "asr" description = "Apple Software Restore: copies disk images onto volumes." executables = ["asr"] platforms = ["macos"] [commands] format = 1 label = "Apple Software Restore" description = "Restore a disk image or volume onto another volume." quality = "ai-draft" base = "fig:asr" 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/asr.ts" license = "MIT" [[commands.subcommand]] path = ["restore"] label = "Restore" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/asr.ts" license = "MIT" [[commands.subcommand.field]] id = "source" label = "Source" type = "path" option = ["--source"] path = { kind = "any", role = "input" } sources = ["fig"] [[commands.subcommand.field]] id = "target" label = "Target" type = "path" option = ["--target"] path = { kind = "any", role = "output", must_exist = false } effect = "overwrite" sources = ["fig"] [[commands.subcommand.field]] id = "erase" label = "Erase target (required)" type = "boolean" option = ["--erase"] effect = "overwrite" sources = ["fig"] [[commands.subcommand.field]] id = "noprompt" label = "No confirmation prompt" type = "boolean" option = ["--noprompt"] sources = ["fig"] [[commands.subcommand.field]] id = "noverify" label = "Skip verification" type = "boolean" option = ["--noverify"] sources = ["fig"] [[commands.subcommand.field]] id = "verbose" label = "Verbose" type = "boolean" option = ["--verbose"] sources = ["fig"] [[commands.subcommand.task]] id = "restore" label = "Restore image" fields = ["source", "target", "erase"] required = ["source", "target", "erase"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["source", "target", "erase", "noprompt", "noverify", "verbose"]