@@ -1,4 +1,10 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/.."
exec npx -y tsx src/cli.ts "$@"
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
if [[ -f "$ROOT/dist/cli.js" ]]; then
exec node "$ROOT/dist/cli.js" "$@"
else
exec npx -y tsx "$ROOT/src/cli.ts" "$@"
fi
The note is not visible to the blocked user.