{
  "id": "find",
  "name": "find",
  "description": "Walk a file hierarchy.",
  "executables": [
    "find"
  ],
  "commands": {
    "format": 1,
    "label": "Find files",
    "description": "Search directory trees. Enter start paths followed by the expression (e.g. -name '*.rs' -type f).",
    "quality": "ai-draft",
    "base": "fig:find",
    "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/find.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "words",
        "label": "Paths and expression",
        "description": "Start directories first, then primaries such as -name or -type.",
        "type": "string",
        "position": 0,
        "multiple": true,
        "sources": [
          "fig"
        ]
      },
      {
        "id": "follow",
        "label": "Follow symbolic links",
        "type": "boolean",
        "option": [
          "-L"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "xdev",
        "label": "Stay on one filesystem",
        "type": "boolean",
        "option": [
          "-x"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "depth_first",
        "label": "Depth-first traversal",
        "type": "boolean",
        "option": [
          "-d"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "sorted",
        "label": "Lexicographical order",
        "type": "boolean",
        "option": [
          "-s"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "find",
        "label": "Find",
        "fields": [
          "words",
          "follow",
          "xdev"
        ],
        "required": []
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "words",
          "follow",
          "xdev"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "depth_first",
          "sorted"
        ]
      }
    ]
  }
}
