{
  "name": "hx",
  "description": "A post-modern text editor",
  "parserDirectives": {
    "flagsArePosixNoncompliant": true
  },
  "options": [
    {
      "names": [
        "-h",
        "--help"
      ],
      "description": "Show help"
    },
    {
      "names": [
        "--tutor"
      ],
      "description": "Open the tutorial"
    },
    {
      "names": [
        "--health"
      ],
      "description": "Check for errors in editor setup",
      "args": [
        {
          "name": "language",
          "isOptional": true
        }
      ]
    },
    {
      "names": [
        "-v"
      ],
      "description": "Increases logging verbosity",
      "isRepeatable": -1
    },
    {
      "names": [
        "-g",
        "--grammar"
      ],
      "description": "Fetch or build tree-sitter grammars",
      "args": [
        {
          "name": "action",
          "suggestions": [
            "fetch",
            "build"
          ]
        }
      ]
    },
    {
      "names": [
        "-V",
        "--version"
      ],
      "description": "Print version information"
    }
  ],
  "args": [
    {
      "name": "files",
      "isVariadic": true,
      "template": "filepaths"
    }
  ]
}
