id = "xcodeproj" name = "xcodeproj" description = "Creates and modifies Xcode projects (CocoaPods Xcodeproj)." executables = ["xcodeproj"] platforms = ["macos"] [commands] format = 1 label = "Inspect an Xcode project" description = "Show or sort an Xcode project. Other subcommands are left out." quality = "ai-draft" base = "fig:xcodeproj" 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/xcodeproj.ts" license = "MIT" [[commands.subcommand]] path = ["show"] label = "Show project overview" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/xcodeproj.ts" license = "MIT" [[commands.subcommand.field]] id = "project" label = "Project" description = "Defaults to the single project in the current directory." type = "path" position = 0 path = { kind = "directory", role = "input", must_exist = true } sources = ["fig"] [[commands.subcommand.field]] id = "format" label = "YAML format" type = "enum" option = ["--format"] choices = [{ value = "hash", label = "Hash" }, { value = "tree_hash", label = "Tree hash" }, { value = "raw", label = "Raw" }] sources = ["fig"] [[commands.subcommand.task]] id = "show" label = "Show project" fields = ["project", "format"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["project", "format"] [[commands.subcommand]] path = ["sort"] label = "Sort a project" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/xcodeproj.ts" license = "MIT" [[commands.subcommand.field]] id = "project" label = "Project" description = "Defaults to the single project in the current directory. Sorting rewrites the project file." type = "path" position = 0 path = { kind = "directory", role = "input", must_exist = true } effect = "overwrite" sources = ["fig"] [[commands.subcommand.field]] id = "group_option" label = "Group position" type = "enum" option = ["--group-option"] choices = [{ value = "above", label = "Above files" }, { value = "below", label = "Below files" }] sources = ["fig"] [[commands.subcommand.task]] id = "sort" label = "Sort project" fields = ["project", "group_option"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["project", "group_option"]