{
  "id": "git-profile",
  "name": "git-profile",
  "description": "Switch git configuration profiles.",
  "executables": [
    "git-profile"
  ],
  "commands": {
    "format": 1,
    "label": "Switch git profile",
    "description": "Apply a profile from the config file to this repository.",
    "quality": "ai-draft",
    "base": "fig:git-profile",
    "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/git-profile.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "config",
        "label": "Config file",
        "description": "Default ~/.gitprofile.",
        "type": "path",
        "option": [
          "--config",
          "-c"
        ],
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "config"
        ]
      }
    ],
    "subcommand": [
      {
        "path": [
          "use"
        ],
        "label": "Use a profile",
        "description": "Apply a profile in this repository.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/git-profile.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "profile",
            "label": "Profile",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "use",
            "label": "Use profile",
            "fields": [
              "profile"
            ],
            "required": [
              "profile"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "profile"
            ]
          }
        ]
      }
    ]
  }
}
