{
  "name": "tsx",
  "description": "Run TypeScript file using tsx",
  "options": [
    {
      "names": [
        "--help",
        "-h"
      ],
      "description": "Show help for tsx",
      "isPersistent": true
    },
    {
      "names": [
        "--no-cache"
      ],
      "description": "Disable caching",
      "isPersistent": true
    },
    {
      "names": [
        "--clear-screen"
      ],
      "description": "Disable clearing the screen on rerun",
      "isPersistent": true,
      "dependsOn": [
        "watch"
      ],
      "args": [
        {
          "name": "script path",
          "template": "filepaths"
        }
      ]
    },
    {
      "names": [
        "-v",
        "--version"
      ],
      "description": "Show version"
    },
    {
      "names": [
        "--tsconfig"
      ],
      "description": "Custom tsconfig.json path",
      "args": [
        {
          "name": "tsconfig.json path",
          "template": "filepaths"
        }
      ]
    }
  ],
  "args": [
    {
      "name": "script path",
      "template": "filepaths"
    }
  ],
  "subcommands": [
    {
      "name": "watch",
      "description": "Run the script and watch for changes",
      "args": [
        {
          "name": "script path",
          "template": "filepaths"
        }
      ]
    }
  ]
}
