feat: launch as neuron — bin entry + CLI script name
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
# Neuron launcher: run the CLI from source under Bun.
|
||||
SELF="$0"
|
||||
while [ -L "$SELF" ]; do
|
||||
LINK="$(readlink "$SELF")"
|
||||
case "$LINK" in
|
||||
/*) SELF="$LINK" ;;
|
||||
*) SELF="$(dirname "$SELF")/$LINK" ;;
|
||||
esac
|
||||
done
|
||||
DIR="$(cd "$(dirname "$SELF")" && pwd)"
|
||||
exec bun run --conditions=browser "$DIR/../src/index.ts" "$@"
|
||||
Reference in New Issue
Block a user