{
  "$schema": "https://developer.microsoft.com/json-schemas/rush/v5/command-line.schema.json",
  "commands": [
    {
      "name": "commitlint",
      "commandKind": "global",
      "summary": "Runs commitlint on the commit messages.",
      "description": "Used by the commit-msg Git hook. This command invokes commitlint to ensure that the commit messages meet the conventional commit format",
      "safeForSimultaneousRushProcesses": true,
      "autoinstallerName": "rush-commitlint",
      "shellCommand": "commitlint"
    },
    {
      "name": "whatchanged",
      "commandKind": "global",
      "summary": "What changed?",
      "description": "Displays history of commits and, if using conventional commits, suggestion for the change type",
      "autoinstallerName": "rush-changemanager",
      "shellCommand": "node common/scripts/rush-whatChanged.js"
    }
  ],
  "parameters": [
    {
      "parameterKind": "string",
      "argumentName": "MESSAGE",
      "longName": "--edit",
      "description": "",
      "associatedCommands": [
        "commitlint"
      ]
    },
    {
      "parameterKind": "flag",
      "longName": "--recommend-changetype",
      "description": "Recommend change type based on the conventional commits convention",
      "associatedCommands": [
        "whatchanged"
      ]
    },
    {
      "parameterKind": "choice",
      "longName": "--show-commits",
      "description": "Display my commits, to support change file generation",
      "defaultValue": "shortlog",
      "alternatives": [
        {
          "name": "shortlog",
          "description": "Prints commits in a shortlog format to the terminal"
        },
        {
          "name": "full",
          "description": "Prints full commits message, including body, to a file"
        }
      ],
      "associatedCommands": [
        "whatchanged"
      ]
    },
    {
      "parameterKind": "string",
      "argumentName": "TARGET_BRANCH",
      "longName": "--target-branch",
      "shortName": "-b",
      "description": "",
      "associatedCommands": [
        "whatchanged"
      ]
    },
    {
      "parameterKind": "flag",
      "longName": "--quiet",
      "shortName": "-q",
      "description": "suppress startup information",
      "associatedCommands": [
        "commitlint",
        "whatchanged"
      ]
    }
  ]
}