{
  "id": "readlink",
  "name": "readlink",
  "description": "Print the target of a symbolic link.",
  "executables": [
    "readlink"
  ],
  "commands": {
    "format": 1,
    "label": "Read a symlink",
    "description": "Print where a symbolic link points.",
    "quality": "ai-draft",
    "base": "fig:readlink",
    "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/readlink.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "files",
        "label": "Symlinks",
        "type": "path",
        "position": 0,
        "multiple": true,
        "path": {
          "kind": "any",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_newline",
        "label": "No trailing newline",
        "type": "boolean",
        "option": [
          "-n"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "read",
        "label": "Print link target",
        "fields": [
          "files",
          "no_newline"
        ],
        "required": [
          "files"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "files",
          "no_newline"
        ]
      }
    ]
  }
}
