{
  "name": "zoxide",
  "description": "A smarter cd command for your terminal",
  "subcommands": [
    {
      "name": "add",
      "description": "Add a new directory or increment its rank",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Print help information"
        },
        {
          "names": [
            "-V",
            "--version"
          ],
          "description": "Print version information"
        }
      ],
      "args": [
        {
          "name": "paths",
          "is_variadic": true,
          "template": "folders"
        }
      ]
    },
    {
      "name": "import",
      "description": "Import entries from another application",
      "options": [
        {
          "names": [
            "--from"
          ],
          "description": "Application to import from",
          "takes_arg": true,
          "arg": {
            "name": "from",
            "suggestions": [
              "autojump",
              "z"
            ]
          }
        },
        {
          "names": [
            "--merge"
          ],
          "description": "Merge into existing database"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Print help information"
        },
        {
          "names": [
            "-V",
            "--version"
          ],
          "description": "Print version information"
        }
      ],
      "args": [
        {
          "name": "path",
          "template": "filepaths"
        }
      ]
    },
    {
      "name": "init",
      "description": "Generate shell configuration",
      "options": [
        {
          "names": [
            "--cmd"
          ],
          "description": "Changes the prefix of the `z` and `zi` commands",
          "takes_arg": true,
          "arg": {
            "name": "cmd"
          }
        },
        {
          "names": [
            "--hook"
          ],
          "description": "Changes how often zoxide increments a directory's score",
          "takes_arg": true,
          "arg": {
            "name": "hook",
            "suggestions": [
              "none",
              "prompt",
              "pwd"
            ]
          }
        },
        {
          "names": [
            "--no-cmd"
          ],
          "description": "Prevents zoxide from defining the `z` and `zi` commands"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Print help information"
        },
        {
          "names": [
            "-V",
            "--version"
          ],
          "description": "Print version information"
        }
      ],
      "args": [
        {
          "name": "shell",
          "suggestions": [
            "bash",
            "elvish",
            "fish",
            "nushell",
            "posix",
            "powershell",
            "xonsh",
            "zsh"
          ]
        }
      ]
    },
    {
      "name": "query",
      "description": "Search for a directory in the database",
      "options": [
        {
          "names": [
            "--exclude"
          ],
          "description": "Exclude a path from results",
          "takes_arg": true,
          "arg": {
            "name": "exclude",
            "template": "folders"
          }
        },
        {
          "names": [
            "--all"
          ],
          "description": "Show deleted directories"
        },
        {
          "names": [
            "-i",
            "--interactive"
          ],
          "description": "Use interactive selection"
        },
        {
          "names": [
            "-l",
            "--list"
          ],
          "description": "List all matching directories"
        },
        {
          "names": [
            "-s",
            "--score"
          ],
          "description": "Print score with results"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Print help information"
        },
        {
          "names": [
            "-V",
            "--version"
          ],
          "description": "Print version information"
        }
      ],
      "args": [
        {
          "name": "keywords"
        }
      ]
    },
    {
      "name": "remove",
      "description": "Remove a directory from the database",
      "options": [
        {
          "names": [
            "-i",
            "--interactive"
          ],
          "description": "Use interactive selection"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Print help information"
        },
        {
          "names": [
            "-V",
            "--version"
          ],
          "description": "Print version information"
        }
      ],
      "args": [
        {
          "name": "paths",
          "template": "folders"
        }
      ]
    }
  ],
  "options": [
    {
      "names": [
        "-h",
        "--help"
      ],
      "description": "Print help information"
    },
    {
      "names": [
        "-V",
        "--version"
      ],
      "description": "Print version information"
    }
  ]
}
