{
  "id": "kitty",
  "name": "kitty",
  "homepage": "https://sw.kovidgoyal.net/kitty/",
  "description": "kitty - the fast, feature-rich, cross-platform, GPU based terminal.",
  "icon": "https://sw.kovidgoyal.net/kitty/_static/kitty.svg",
  "executables": [
    "kitty",
    "kitten"
  ],
  "platforms": [
    "macos",
    "linux"
  ],
  "dotfiles": {
    "paths": [
      "[configHome]/kitty/",
      "[preferences]/kitty/"
    ],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "Launch kitty",
    "description": "Open a kitty window with title, directory, config and start options. Remote control and kittens are left out.",
    "quality": "ai-draft",
    "base": "fig:kitty",
    "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/kitty.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "title",
        "label": "Window title",
        "type": "string",
        "option": [
          "-T",
          "--title"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "directory",
        "label": "Working directory",
        "type": "path",
        "option": [
          "-d",
          "--directory",
          "--working-directory"
        ],
        "path": {
          "kind": "directory",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "config",
        "label": "Config file",
        "type": "path",
        "option": [
          "-C",
          "--config"
        ],
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "session",
        "label": "Session file",
        "type": "path",
        "option": [
          "--session"
        ],
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "start_as",
        "label": "Start as",
        "type": "string",
        "option": [
          "--start-as"
        ],
        "suggestions": [
          {
            "value": "normal",
            "label": "Normal"
          },
          {
            "value": "fullscreen",
            "label": "Fullscreen"
          },
          {
            "value": "maximized",
            "label": "Maximized"
          },
          {
            "value": "minimized",
            "label": "Minimized"
          }
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "hold",
        "label": "Stay open after exit",
        "type": "boolean",
        "option": [
          "--hold"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "single_instance",
        "label": "Single instance",
        "type": "boolean",
        "option": [
          "-1",
          "--single-instance"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "command",
        "label": "Program and arguments",
        "type": "string",
        "position": 0,
        "multiple": true,
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "run",
        "label": "Run a program",
        "set": {
          "hold": [
            true
          ]
        },
        "fields": [
          "command",
          "directory",
          "title",
          "hold"
        ],
        "required": [
          "command"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "title",
          "directory",
          "command",
          "hold"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "config",
          "session",
          "start_as",
          "single_instance"
        ]
      }
    ]
  }
}
