{
  "id": "mob",
  "name": "mob",
  "homepage": "https://mob.sh",
  "description": "Fast git handover for remote pair/mob programming.",
  "executables": [
    "mob"
  ],
  "dotfiles": {
    "paths": [
      "~/.mob"
    ],
    "exclude": [],
    "secret": [],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "mob",
    "description": "Fast git handover for mob programming. Use the subcommand tabs for start, next and done.",
    "quality": "ai-draft",
    "base": "fig:mob",
    "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/mob.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "start"
        ],
        "label": "Start a session",
        "description": "Start a mob session from the base branch in a wip branch, optionally with a timer.",
        "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/mob.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "minutes",
            "label": "Timer (minutes)",
            "type": "integer",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "include_uncommitted",
            "label": "Move uncommitted changes to the wip branch",
            "type": "boolean",
            "option": [
              "--include-uncommitted-changes",
              "-i"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "branch",
            "label": "Branch postfix",
            "type": "string",
            "option": [
              "--branch",
              "-b"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "start",
            "label": "Start session",
            "fields": [
              "minutes",
              "include_uncommitted",
              "branch"
            ],
            "required": []
          },
          {
            "id": "timed",
            "label": "Start with a 10 minute timer",
            "fields": [
              "minutes"
            ],
            "required": [
              "minutes"
            ],
            "set": {
              "minutes": [
                10
              ]
            }
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "minutes",
              "include_uncommitted",
              "branch"
            ]
          }
        ]
      },
      {
        "path": [
          "next"
        ],
        "label": "Hand over",
        "description": "Hand over changes in the wip branch to the next person.",
        "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/mob.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "stay",
            "label": "Stay on wip branch",
            "type": "boolean",
            "option": [
              "--stay",
              "-s"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "return_to_base",
            "label": "Return to base branch",
            "type": "boolean",
            "option": [
              "--return-to-base-branch",
              "-r"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "message",
            "label": "Commit message",
            "type": "string",
            "option": [
              "--message",
              "-m"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "next",
            "label": "Hand over",
            "fields": [
              "message",
              "return_to_base"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "stay",
              "return_to_base",
              "message"
            ]
          }
        ]
      },
      {
        "path": [
          "done"
        ],
        "label": "Finish the session",
        "description": "Squash the wip branch into the base branch index.",
        "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/mob.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "squash",
            "label": "Squash all commits",
            "type": "boolean",
            "option": [
              "--squash"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "squash_wip",
            "label": "Squash wip commits only",
            "type": "boolean",
            "option": [
              "--squash-wip"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_squash",
            "label": "Do not squash, only merge",
            "type": "boolean",
            "option": [
              "--no-squash"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "done",
            "label": "Finish",
            "fields": [
              "squash",
              "squash_wip",
              "no_squash"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "squash",
              "squash_wip",
              "no_squash"
            ]
          }
        ]
      }
    ]
  }
}
