{
  "id": "gitu",
  "name": "Gitu",
  "homepage": "https://github.com/altsem/gitu",
  "description": "Git porcelain interface for the terminal.",
  "executables": [
    "gitu"
  ],
  "platforms": [
    "macos",
    "linux"
  ],
  "dotfiles": {
    "paths": [
      "~/.config/gitu/config.toml"
    ],
    "exclude": [],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "Open Gitu",
    "description": "Open the Gitu Git interface, optionally with a config file or startup keys. The show, blame and completion subcommands are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "cli",
        "kind": "help",
        "url": "https://github.com/altsem/gitu/blob/master/src/cli.rs",
        "revision": "master 2026-10-27",
        "evidence": "-k, --keys <KEYS>      Send keys on startup (eg: `gitu -k ll`).\n    --print            Print one frame and exit. Useful for debugging.\n    --log              Enable logging to 'gitu.log'\n-c, --config <CONFIG>  Config file to use\n"
      }
    ],
    "field": [
      {
        "id": "keys",
        "label": "Startup keys",
        "description": "Keys to send on startup, for example ll.",
        "type": "string",
        "option": [
          "--keys",
          "-k"
        ],
        "sources": [
          "cli"
        ]
      },
      {
        "id": "config",
        "label": "Config file",
        "type": "path",
        "option": [
          "--config",
          "-c"
        ],
        "path": {
          "kind": "file",
          "role": "input",
          "must_exist": true
        },
        "sources": [
          "cli"
        ]
      },
      {
        "id": "print",
        "label": "Print one frame and exit",
        "type": "boolean",
        "option": [
          "--print"
        ],
        "sources": [
          "cli"
        ]
      },
      {
        "id": "log",
        "label": "Log to gitu.log",
        "type": "boolean",
        "option": [
          "--log"
        ],
        "sources": [
          "cli"
        ]
      }
    ],
    "task": [
      {
        "id": "open",
        "label": "Open Gitu",
        "fields": [
          "config",
          "keys",
          "log"
        ],
        "required": []
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "config",
          "keys",
          "print",
          "log"
        ]
      }
    ]
  }
}
