{
  "id": "tig",
  "name": "Tig",
  "homepage": "https://jonas.github.io/tig/",
  "description": "An ncurses-based text-mode interface for git, functioning mainly as a repository browser but also able to stage changes and act as a pager.",
  "executables": [
    "tig"
  ],
  "dotfiles": {
    "paths": [
      "~/.tigrc",
      "[configHome]/tig/config"
    ],
    "exclude": [],
    "secret": [],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "Open Tig",
    "description": "Open the text-mode Git browser in a chosen view, optionally in another repository. Revision ranges and paths are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "man",
        "kind": "manual",
        "url": "https://github.com/jonas/tig/blob/master/doc/tig.1.adoc",
        "revision": "master 2026-10",
        "evidence": "tig        [options] [revisions] [--] [paths]\ntig log    [options] [revisions] [--] [paths]\ntig show   [options] [revisions] [--] [paths]\ntig reflog [options] [revisions]\ntig blame  [options] [rev] [--] path\ntig grep   [options] [pattern]\ntig refs   [options]\ntig stash  [options]\ntig status\n-C <path>::\n"
      }
    ],
    "field": [
      {
        "id": "view",
        "label": "View",
        "description": "Leave empty for the default main view.",
        "type": "enum",
        "position": 0,
        "choices": [
          {
            "value": "log",
            "label": "Log"
          },
          {
            "value": "show",
            "label": "Show"
          },
          {
            "value": "reflog",
            "label": "Reflog"
          },
          {
            "value": "blame",
            "label": "Blame"
          },
          {
            "value": "grep",
            "label": "Grep"
          },
          {
            "value": "refs",
            "label": "Refs"
          },
          {
            "value": "stash",
            "label": "Stash"
          },
          {
            "value": "status",
            "label": "Status"
          }
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "dir",
        "label": "Run in directory",
        "type": "path",
        "path": {
          "kind": "directory",
          "role": "input"
        },
        "option": [
          "-C"
        ],
        "sources": [
          "man"
        ]
      }
    ],
    "task": [
      {
        "id": "status",
        "label": "Open status view",
        "fields": [
          "view",
          "dir"
        ],
        "required": [
          "view"
        ],
        "set": {
          "view": [
            "status"
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "view",
          "dir"
        ]
      }
    ]
  }
}
