{
  "id": "fzf-tmux",
  "name": "fzf-tmux",
  "description": "Opens fzf in a tmux pane.",
  "homepage": "https://github.com/junegunn/fzf",
  "executables": [
    "fzf-tmux"
  ],
  "commands": {
    "format": 1,
    "label": "Fuzzy finder in tmux",
    "description": "Pick lines from standard input with fzf. tmux pane placement options are left out.",
    "quality": "ai-draft",
    "base": "fig:fzf-tmux",
    "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/fzf-tmux.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "query",
        "label": "Initial query",
        "type": "string",
        "option": [
          "--query",
          "-q"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "exact",
        "label": "Exact match",
        "type": "boolean",
        "option": [
          "--exact",
          "-e"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "multi",
        "label": "Multi-select",
        "type": "boolean",
        "option": [
          "--multi",
          "-m"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "height",
        "label": "Height",
        "description": "For example 40% or 20.",
        "type": "string",
        "option": [
          "--height"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "layout",
        "label": "Layout",
        "type": "string",
        "option": [
          "--layout"
        ],
        "suggestions": [
          {
            "value": "default",
            "label": "default"
          },
          {
            "value": "reverse",
            "label": "reverse"
          },
          {
            "value": "reverse-list",
            "label": "reverse-list"
          }
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "ansi",
        "label": "Process ANSI colors",
        "type": "boolean",
        "option": [
          "--ansi"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "preview",
        "label": "Preview command",
        "description": "Command run for the highlighted line; {} is the line.",
        "type": "string",
        "option": [
          "--preview"
        ],
        "effect": "exec",
        "sources": [
          "fig"
        ]
      },
      {
        "id": "prompt",
        "label": "Prompt",
        "type": "string",
        "option": [
          "--prompt"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "filter",
        "label": "Filter (non-interactive)",
        "type": "string",
        "option": [
          "--filter",
          "-f"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "select1",
        "label": "Auto-select single match",
        "type": "boolean",
        "option": [
          "--select-1",
          "-1"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "exit0",
        "label": "Exit if no match",
        "type": "boolean",
        "option": [
          "--exit-0",
          "-0"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_sort",
        "label": "Do not sort",
        "type": "boolean",
        "option": [
          "--no-sort",
          "+s"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "tac",
        "label": "Reverse input order",
        "type": "boolean",
        "option": [
          "--tac"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "pick",
        "label": "Pick from input",
        "fields": [
          "query",
          "multi",
          "height",
          "layout",
          "preview"
        ],
        "required": []
      },
      {
        "id": "filter",
        "label": "Filter non-interactively",
        "fields": [
          "filter",
          "exact"
        ],
        "required": [
          "filter"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "query",
          "multi",
          "height",
          "layout",
          "preview",
          "filter"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "ansi",
          "prompt",
          "select1",
          "exit0",
          "no_sort",
          "tac",
          "exact"
        ]
      }
    ]
  }
}
