{
  "id": "tail",
  "name": "tail",
  "description": "Display the last part of a file.",
  "executables": [
    "tail"
  ],
  "commands": {
    "format": 1,
    "label": "Show end of file",
    "description": "Display the last part of files. Only the flags Fig lists (-f, -r) are included; -n/-c are not in the completion data.",
    "quality": "ai-draft",
    "base": "fig:tail",
    "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/tail.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "follow",
        "label": "Follow appended data",
        "type": "boolean",
        "option": [
          "-f"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "reverse",
        "label": "Reverse order",
        "type": "boolean",
        "option": [
          "-r"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "files",
        "label": "Files",
        "type": "path",
        "path": {
          "kind": "file",
          "role": "input"
        },
        "position": 0,
        "multiple": true,
        "min": 1,
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "follow",
        "label": "Follow a file",
        "set": {
          "follow": [
            true
          ]
        },
        "fields": [
          "files",
          "follow"
        ],
        "required": [
          "files"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "files",
          "follow",
          "reverse"
        ]
      }
    ]
  }
}
