{
  "id": "stat",
  "name": "stat",
  "description": "Display file status.",
  "executables": [
    "stat"
  ],
  "platforms": [
    "macos"
  ],
  "commands": {
    "format": 1,
    "label": "Show file status",
    "description": "Display information about files. BSD/macOS stat flags.",
    "quality": "ai-draft",
    "base": "fig:stat",
    "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/stat.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "files",
        "label": "Files",
        "type": "path",
        "position": 0,
        "multiple": true,
        "path": {
          "kind": "any",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "follow",
        "label": "Follow symlinks",
        "type": "boolean",
        "option": [
          "-L"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "ls",
        "label": "ls -lT format",
        "type": "boolean",
        "option": [
          "-l"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "verbose",
        "label": "Verbose (Linux-style) output",
        "type": "boolean",
        "option": [
          "-x"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "raw",
        "label": "Raw numeric values",
        "type": "boolean",
        "option": [
          "-r"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "shell",
        "label": "Shell variable format",
        "type": "boolean",
        "option": [
          "-s"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "format",
        "label": "Output format",
        "description": "printf-like format starting with %.",
        "type": "string",
        "option": [
          "-f"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "timefmt",
        "label": "Time format",
        "description": "strftime(3) format.",
        "type": "string",
        "option": [
          "-t"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "quiet",
        "label": "Suppress errors",
        "type": "boolean",
        "option": [
          "-q"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "nonl",
        "label": "No trailing newline",
        "type": "boolean",
        "option": [
          "-n"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "type_suffix",
        "label": "Type suffix characters",
        "type": "boolean",
        "option": [
          "-F"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "show",
        "label": "Show status",
        "fields": [
          "files",
          "follow",
          "verbose"
        ],
        "required": [
          "files"
        ]
      },
      {
        "id": "format",
        "label": "Custom format",
        "fields": [
          "files",
          "format",
          "follow"
        ],
        "required": [
          "files",
          "format"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "files",
          "follow",
          "verbose",
          "ls",
          "format",
          "raw",
          "shell"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "timefmt",
          "quiet",
          "nonl",
          "type_suffix"
        ]
      }
    ]
  }
}
