{
  "id": "git-mob",
  "name": "git-mob",
  "homepage": "https://github.com/rkotze/git-mob",
  "description": "CLI tool for including co-authors in commits",
  "executables": [
    "git-mob",
    "git-mob-print"
  ],
  "dotfiles": {
    "paths": [
      "~/.git-coauthors"
    ],
    "secret": [],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "Set co-authors",
    "description": "Choose the co-authors for the next commits from the initials in your .git-coauthors file, or list them. Adding and suggesting co-authors use separate commands and are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": false,
      "short_bundles": false
    },
    "source": [
      {
        "id": "readme",
        "kind": "help",
        "url": "https://github.com/rkotze/git-mob/blob/master/packages/git-mob/README.md",
        "revision": "master 2026-10-27",
        "evidence": "$ git mob ad bd\n$ git mob --list\nOverwrite the current author which could be useful for pairing on different machines\n$ git mob -o jd ad\nPrint out path to `.git-coauthors` file.\ngit mob -p\n"
      }
    ],
    "field": [
      {
        "id": "initials",
        "label": "Co-author initials",
        "description": "Initials from your .git-coauthors file, in order.",
        "type": "string",
        "position": 0,
        "multiple": true,
        "sources": [
          "readme"
        ]
      },
      {
        "id": "override_author",
        "label": "Overwrite main author with first initials",
        "type": "boolean",
        "option": [
          "-o"
        ],
        "sources": [
          "readme"
        ]
      },
      {
        "id": "list",
        "label": "List available co-authors",
        "type": "boolean",
        "option": [
          "--list"
        ],
        "sources": [
          "readme"
        ]
      },
      {
        "id": "path",
        "label": "Print .git-coauthors path",
        "type": "boolean",
        "option": [
          "-p"
        ],
        "sources": [
          "readme"
        ]
      }
    ],
    "task": [
      {
        "id": "pair",
        "label": "Start pairing",
        "fields": [
          "initials"
        ],
        "required": [
          "initials"
        ]
      },
      {
        "id": "list",
        "label": "List co-authors",
        "fields": [
          "list"
        ],
        "required": [
          "list"
        ],
        "set": {
          "list": [
            true
          ]
        },
        "lock": [
          "list"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "initials",
          "override_author",
          "list",
          "path"
        ]
      }
    ]
  }
}
