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