[
  {
    "value": "github",
    "name": "GitHub",
    "cli": {
      "command": "gh",
      "displayName": "GitHub CLI (gh)",
      "installUrl": "https://cli.github.com",
      "authCheck": {
        "args": ["auth", "status"],
        "notAuthenticatedMessage": "GitHub CLI not authenticated. Run:",
        "commands": ["gh auth login"]
      }
    }
  },
  {
    "value": "azure",
    "name": "Azure DevOps",
    "cli": {
      "command": "az",
      "displayName": "Azure CLI (az)",
      "installUrl": "https://learn.microsoft.com/en-us/cli/azure/install-azure-cli",
      "extensionCheck": {
        "args": ["extension", "list", "--query", "[?name=='azure-devops']", "-o", "tsv"],
        "expectedOutput": "azure-devops",
        "missingMessage": "azure-devops extension not found. Run:",
        "errorMessage": "Could not check azure-devops extension. Run:",
        "commands": [
          "az extension add --name azure-devops",
          "az config set extension.dynamic_install_allow_preview=true",
          "az login",
          "az devops login --organization https://dev.azure.com/<your-org>"
        ]
      }
    }
  },
  {
    "value": "jira",
    "name": "Jira (Atlassian)",
    "backlogOnly": true,
    "cli": {
      "command": "acli",
      "displayName": "Atlassian CLI (acli)",
      "installUrl": "https://developer.atlassian.com/cloud/acli/guides/install-acli/",
      "authCheck": {
        "args": ["jira", "auth", "status"],
        "notAuthenticatedMessage": "Atlassian CLI not authenticated. Run:",
        "commands": ["acli jira auth login --site <yoursite>.atlassian.net --email <email> --token"]
      }
    }
  },
  {
    "value": "gitlab",
    "name": "GitLab",
    "repoOnly": true,
    "cli": {
      "command": "glab",
      "displayName": "GitLab CLI (glab)",
      "installUrl": "https://gitlab.com/gitlab-org/cli/#installation",
      "authCheck": {
        "args": ["auth", "status"],
        "notAuthenticatedMessage": "GitLab CLI not authenticated. Run:",
        "commands": ["glab auth login"]
      }
    }
  },
  {
    "value": "browser",
    "name": "Others (Browser)",
    "backlogOnly": true
  },
  {
    "value": "none",
    "name": "None"
  }
]
