{
  "id": "df",
  "name": "df",
  "description": "Report free disk space on mounted file systems.",
  "executables": [
    "df"
  ],
  "platforms": [
    "macos",
    "linux"
  ],
  "commands": {
    "format": 1,
    "label": "Show disk usage",
    "description": "Free space per file system or for the file containing each path. Options follow the BSD/macOS df; the type filter is left out because its meaning differs between systems.",
    "quality": "ai-draft",
    "base": "fig:df",
    "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/df.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "paths",
        "label": "Files or file systems",
        "type": "path",
        "path": {
          "kind": "any",
          "role": "input"
        },
        "position": 0,
        "multiple": true,
        "sources": [
          "fig"
        ]
      },
      {
        "id": "human",
        "label": "Human-readable sizes (powers of 1024)",
        "type": "boolean",
        "option": [
          "-h"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "inodes",
        "label": "Include inode counts",
        "type": "boolean",
        "option": [
          "-i"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "local",
        "label": "Local file systems only",
        "type": "boolean",
        "option": [
          "-l"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "all",
        "label": "Show all mount points",
        "type": "boolean",
        "option": [
          "-a"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "kilobytes",
        "label": "1K blocks",
        "type": "boolean",
        "option": [
          "-k"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "overview",
        "label": "Human-readable overview",
        "set": {
          "human": [
            true
          ]
        },
        "fields": [
          "paths",
          "human",
          "local"
        ],
        "required": []
      },
      {
        "id": "inodes",
        "label": "Inode usage",
        "set": {
          "inodes": [
            true
          ],
          "human": [
            true
          ]
        },
        "fields": [
          "paths",
          "inodes",
          "human"
        ],
        "required": []
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "paths",
          "human",
          "local",
          "inodes"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "all",
          "kilobytes"
        ]
      }
    ]
  }
}
