id = "xcrun" name = "xcrun" description = "Finds and runs a developer tool from the active Xcode." executables = ["xcrun"] platforms = ["macos"] [commands] format = 1 label = "Locate Xcode SDK info" description = "Print tool or SDK paths. Running a tool is outside this form." quality = "ai-draft" base = "fig:xcrun" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = true } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/xcrun.ts" license = "MIT" [[commands.field]] id = "sdk" label = "SDK" type = "string" option = ["--sdk"] suggestions = [{ value = "macosx", label = "macOS" }, { value = "iphoneos", label = "iOS" }, { value = "iphonesimulator", label = "iOS Simulator" }] sources = ["fig"] [[commands.field]] id = "toolchain" label = "Toolchain" type = "string" option = ["--toolchain"] sources = ["fig"] [[commands.field]] id = "find" label = "Find tool path" type = "boolean" option = ["-f", "--find"] sources = ["fig"] [[commands.field]] id = "show_sdk_path" label = "Show SDK path" type = "boolean" option = ["--show-sdk-path"] sources = ["fig"] [[commands.field]] id = "show_sdk_version" label = "Show SDK version" type = "boolean" option = ["--show-sdk-version"] sources = ["fig"] [[commands.field]] id = "verbose" label = "Verbose" type = "boolean" option = ["-v", "--verbose"] sources = ["fig"] [[commands.task]] id = "sdk-path" label = "SDK path" fields = ["sdk", "show_sdk_path"] set = { show_sdk_path = [true] } lock = ["show_sdk_path"] required = [] [[commands.group]] id = "basic" label = "Basic" fields = ["sdk", "toolchain", "find", "show_sdk_path", "show_sdk_version", "verbose"]