{
  "id": "zellij",
  "name": "Zellij",
  "homepage": "https://zellij.dev",
  "description": "A workspace aimed at developers, ops-oriented people and anyone who loves the terminal.",
  "icon": "https://raw.githubusercontent.com/zellij-org/zellij/main/assets/logo.svg",
  "executables": [
    "zellij"
  ],
  "platforms": [
    "macos",
    "linux"
  ],
  "dotfiles": {
    "paths": [
      "~/.config/zellij/config.kdl",
      "~/.config/zellij/layouts/",
      "~/.config/zellij/themes/",
      "~/Library/Application Support/org.Zellij-Contributors.Zellij/config.kdl",
      "~/Library/Application Support/org.Zellij-Contributors.Zellij/layouts/",
      "~/Library/Application Support/org.Zellij-Contributors.Zellij/themes/"
    ],
    "exclude": [
      "~/.cache/zellij/",
      "~/Library/Caches/org.Zellij-Contributors.Zellij/"
    ],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "Zellij",
    "description": "Start, attach to and manage Zellij sessions. Actions, plugins, pipes and config conversion are outside this form.",
    "quality": "ai-draft",
    "base": "fig:zellij",
    "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/zellij.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "attach"
        ],
        "label": "Attach to a session",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/zellij.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "session",
            "label": "Session name",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "create",
            "label": "Create if missing",
            "type": "boolean",
            "option": [
              "--create",
              "-c"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "background",
            "label": "Create detached in background",
            "type": "boolean",
            "option": [
              "--background",
              "-b"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "force_run",
            "label": "Run resurrected commands immediately",
            "type": "boolean",
            "option": [
              "--force-run-commands",
              "-f"
            ],
            "effect": "exec",
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "attach",
            "label": "Attach",
            "fields": [
              "session",
              "create"
            ],
            "required": []
          },
          {
            "id": "attach-or-create",
            "label": "Attach or create",
            "set": {
              "create": [
                true
              ]
            },
            "lock": [
              "create"
            ],
            "fields": [
              "session"
            ],
            "required": [
              "session"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "session",
              "create"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "background",
              "force_run"
            ]
          }
        ]
      },
      {
        "path": [
          "list-sessions"
        ],
        "label": "List sessions",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/zellij.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "short",
            "label": "Names only",
            "type": "boolean",
            "option": [
              "--short",
              "-s"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_formatting",
            "label": "No colors",
            "type": "boolean",
            "option": [
              "--no-formatting",
              "-n"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "reverse",
            "label": "Reverse order",
            "type": "boolean",
            "option": [
              "--reverse",
              "-r"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "list",
            "label": "List sessions",
            "fields": [
              "short",
              "no_formatting",
              "reverse"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "short",
              "no_formatting",
              "reverse"
            ]
          }
        ]
      },
      {
        "path": [
          "kill-session"
        ],
        "label": "Kill a session",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/zellij.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "target",
            "label": "Session name",
            "type": "string",
            "position": 0,
            "min": 1,
            "effect": "delete",
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "kill",
            "label": "Kill session",
            "fields": [
              "target"
            ],
            "required": [
              "target"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "target"
            ]
          }
        ]
      }
    ]
  }
}
