{
  "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
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/ldd.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "exe",
        "label": "Executable",
        "type": "path",
        "position": 0,
        "multiple": true,
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "verbose",
        "label": "Print all information",
        "type": "boolean",
        "option": [
          "--verbose",
          "-v"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "unused",
        "label": "Print unused direct dependencies",
        "type": "boolean",
        "option": [
          "--unused",
          "-u"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "data_relocs",
        "label": "Process data relocations",
        "type": "boolean",
        "option": [
          "--data-relocs",
          "-d"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "function_relocs",
        "label": "Process data and function relocations",
        "type": "boolean",
        "option": [
          "--function-relocs",
          "-r"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "list",
        "label": "List dependencies",
        "fields": [
          "exe"
        ],
        "required": [
          "exe"
        ]
      },
      {
        "id": "unused",
        "label": "Find unused dependencies",
        "set": {
          "unused": [
            true
          ]
        },
        "fields": [
          "exe"
        ],
        "required": [
          "exe"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "exe",
          "verbose",
          "unused"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "data_relocs",
          "function_relocs"
        ]
      }
    ]
  }
}
