id = "which" name = "which" description = "Locate a program in the user's PATH." executables = ["which"] [commands] format = 1 label = "Locate programs" description = "Find executables on PATH." quality = "ai-draft" base = "fig:which" 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/which.ts" license = "MIT" [[commands.field]] id = "names" label = "Program names" type = "string" position = 0 multiple = true sources = ["fig"] [[commands.field]] id = "all" label = "All matches" type = "boolean" option = ["-a"] sources = ["fig"] [[commands.field]] id = "silent" label = "Silent (exit status only)" type = "boolean" option = ["-s"] sources = ["fig"] [[commands.task]] id = "locate" label = "Locate" fields = ["names", "all", "silent"] required = ["names"] [[commands.group]] id = "basic" label = "Basic" fields = ["names", "all", "silent"]