{
  "description": "Review changes in the diff viewer. Covers working-tree diffs and commits; two-file comparison, patches, GitHub pull requests and agent sessions are left out.",
  "name": "hunk",
  "subcommands": [
    {
      "name": "diff",
      "description": "Review working-tree changes, or a revision or revset when one is given.",
      "options": [
        {
          "names": [
            "--watch"
          ],
          "description": "Reload as the working tree changes."
        }
      ],
      "args": [
        {
          "name": "revset",
          "description": "Leave empty to review the working tree.",
          "isOptional": true
        }
      ]
    },
    {
      "name": "show",
      "description": "Review the latest commit, or the given one.",
      "args": [
        {
          "name": "ref",
          "description": "Leave empty for the latest commit.",
          "isOptional": true
        }
      ]
    }
  ]
}
