{
  "id": "fd",
  "name": "fd",
  "homepage": "https://github.com/sharkdp/fd",
  "description": "A simple, fast and user-friendly alternative to 'find'.",
  "icon": "https://raw.githubusercontent.com/sharkdp/fd/master/doc/logo.png",
  "executables": [
    "fd",
    "fdfind"
  ],
  "dotfiles": {
    "paths": [
      "[configHome]/fd/ignore"
    ],
    "exclude": [],
    "secret": [],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "Search files",
    "description": "Find files and directories by pattern. Leaves out --exec/--exec-batch, --size and time filters.",
    "quality": "ai-draft",
    "base": "fig:fd",
    "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/fd.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "pattern",
        "label": "Pattern",
        "description": "Regular expression, or glob with Glob search.",
        "type": "string",
        "position": 0,
        "sources": [
          "fig"
        ]
      },
      {
        "id": "path",
        "label": "Search in",
        "type": "path",
        "position": 1,
        "multiple": true,
        "path": {
          "kind": "directory",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "hidden",
        "label": "Include hidden",
        "type": "boolean",
        "option": [
          "--hidden",
          "-H"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_ignore",
        "label": "Ignore .gitignore rules",
        "type": "boolean",
        "option": [
          "--no-ignore",
          "-I"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "case_sensitive",
        "label": "Case-sensitive",
        "type": "boolean",
        "option": [
          "--case-sensitive",
          "-s"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "ignore_case",
        "label": "Case-insensitive",
        "type": "boolean",
        "option": [
          "--ignore-case",
          "-i"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "glob",
        "label": "Glob search",
        "type": "boolean",
        "option": [
          "--glob",
          "-g"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "full_path",
        "label": "Match full path",
        "type": "boolean",
        "option": [
          "--full-path",
          "-p"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "absolute_path",
        "label": "Absolute paths",
        "type": "boolean",
        "option": [
          "--absolute-path",
          "-a"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "follow",
        "label": "Follow symlinks",
        "type": "boolean",
        "option": [
          "--follow",
          "-L"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "list_details",
        "label": "Long listing",
        "type": "boolean",
        "option": [
          "--list-details",
          "-l"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "print0",
        "label": "Separate with NUL",
        "type": "boolean",
        "option": [
          "--print0",
          "-0"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "max_depth",
        "label": "Max depth",
        "type": "integer",
        "option": [
          "--max-depth",
          "-d"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "type",
        "label": "Type",
        "description": "f file, d directory, l symlink, x executable, e empty, s socket, p pipe.",
        "type": "string",
        "option": [
          "--type",
          "-t"
        ],
        "multiple": true,
        "suggestions": [
          {
            "value": "f",
            "label": "f"
          },
          {
            "value": "d",
            "label": "d"
          },
          {
            "value": "l",
            "label": "l"
          },
          {
            "value": "x",
            "label": "x"
          },
          {
            "value": "e",
            "label": "e"
          },
          {
            "value": "s",
            "label": "s"
          },
          {
            "value": "p",
            "label": "p"
          }
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "extension",
        "label": "Extension",
        "type": "string",
        "option": [
          "--extension",
          "-e"
        ],
        "multiple": true,
        "sources": [
          "fig"
        ]
      },
      {
        "id": "exclude",
        "label": "Exclude glob",
        "type": "string",
        "option": [
          "--exclude",
          "-E"
        ],
        "multiple": true,
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "by-name",
        "label": "Find by name",
        "fields": [
          "pattern",
          "path",
          "hidden",
          "type",
          "extension"
        ],
        "required": [
          "pattern"
        ]
      },
      {
        "id": "by-ext",
        "label": "Find by extension",
        "fields": [
          "extension",
          "path",
          "hidden",
          "max_depth"
        ],
        "required": [
          "extension"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "pattern",
          "path",
          "hidden",
          "glob",
          "max_depth",
          "type",
          "extension",
          "exclude"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "absolute_path",
          "follow",
          "list_details",
          "print0",
          "full_path",
          "no_ignore",
          "case_sensitive",
          "ignore_case"
        ]
      }
    ]
  }
}
