{
  "id": "zoxide",
  "name": "zoxide",
  "description": "A smarter cd command that remembers which directories you use most.",
  "homepage": "https://github.com/ajeetdsouza/zoxide",
  "executables": [
    "zoxide"
  ],
  "commands": {
    "format": 1,
    "label": "zoxide",
    "description": "Search, add and remove directories in the zoxide database. Import and shell init are left out.",
    "quality": "ai-draft",
    "base": "fig:zoxide",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/zoxide.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "query"
        ],
        "label": "Search directories",
        "description": "Search the database for a directory matching the keywords.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/zoxide.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "keywords",
            "label": "Keywords",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "list",
            "label": "List all matches",
            "type": "boolean",
            "option": [
              "--list",
              "-l"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "score",
            "label": "Print scores",
            "type": "boolean",
            "option": [
              "--score",
              "-s"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "interactive",
            "label": "Interactive selection",
            "type": "boolean",
            "option": [
              "--interactive",
              "-i"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "exclude",
            "label": "Exclude path",
            "type": "path",
            "option": [
              "--exclude"
            ],
            "path": {
              "kind": "directory"
            },
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "find",
            "label": "Find best match",
            "fields": [
              "keywords"
            ],
            "required": [
              "keywords"
            ]
          },
          {
            "id": "list",
            "label": "List matches with scores",
            "fields": [
              "keywords",
              "list",
              "score"
            ],
            "required": [
              "keywords"
            ],
            "set": {
              "list": [
                true
              ],
              "score": [
                true
              ]
            }
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "keywords",
              "list",
              "score"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "interactive",
              "exclude"
            ]
          }
        ]
      },
      {
        "path": [
          "add"
        ],
        "label": "Add directories",
        "description": "Add directories to the database or increment their rank.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/zoxide.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "paths",
            "label": "Directories",
            "type": "path",
            "position": 0,
            "multiple": true,
            "path": {
              "kind": "directory",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "add",
            "label": "Add directories",
            "fields": [
              "paths"
            ],
            "required": [
              "paths"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "paths"
            ]
          }
        ]
      },
      {
        "path": [
          "remove"
        ],
        "label": "Remove directory",
        "description": "Remove a directory from the database.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/zoxide.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "paths",
            "label": "Directory",
            "type": "path",
            "position": 0,
            "path": {
              "kind": "directory",
              "role": "input"
            },
            "effect": "delete",
            "sources": [
              "fig"
            ]
          },
          {
            "id": "interactive",
            "label": "Interactive selection",
            "type": "boolean",
            "option": [
              "--interactive",
              "-i"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "remove",
            "label": "Remove directory",
            "fields": [
              "paths"
            ],
            "required": [
              "paths"
            ]
          },
          {
            "id": "pick",
            "label": "Pick interactively",
            "fields": [
              "interactive"
            ],
            "required": [
              "interactive"
            ],
            "set": {
              "interactive": [
                true
              ]
            }
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "paths",
              "interactive"
            ]
          }
        ]
      }
    ]
  }
}
