id = "ldd" name = "ldd" description = "Print the shared library dependencies of programs." executables = ["ldd"] platforms = ["linux"] [commands] format = 1 label = "List shared libraries" description = "Show the shared libraries an executable needs." quality = "ai-draft" base = "fig:ldd" 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/ldd.ts" license = "MIT" [[commands.field]] id = "exe" label = "Executable" type = "path" position = 0 multiple = true path = { kind = "file", role = "input" } sources = ["fig"] [[commands.field]] id = "verbose" label = "Print all information" type = "boolean" option = ["--verbose", "-v"] sources = ["fig"] [[commands.field]] id = "unused" label = "Print unused direct dependencies" type = "boolean" option = ["--unused", "-u"] sources = ["fig"] [[commands.field]] id = "data_relocs" label = "Process data relocations" type = "boolean" option = ["--data-relocs", "-d"] sources = ["fig"] [[commands.field]] id = "function_relocs" label = "Process data and function relocations" type = "boolean" option = ["--function-relocs", "-r"] sources = ["fig"] [[commands.task]] id = "list" label = "List dependencies" fields = ["exe"] required = ["exe"] [[commands.task]] id = "unused" label = "Find unused dependencies" set = { unused = [true] } fields = ["exe"] required = ["exe"] [[commands.group]] id = "basic" label = "Basic" fields = ["exe", "verbose", "unused"] [[commands.group]] id = "advanced" label = "Advanced" fields = ["data_relocs", "function_relocs"]