feat: initial commit
This commit is contained in:
18
cli
Executable file
18
cli
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
COMMAND=$1
|
||||
|
||||
case $COMMAND in
|
||||
node | yarn | npx )
|
||||
docker run -it --rm -v .:/app -w /app -u `id -u`:`id -g` --network host node:20-alpine $@
|
||||
;;
|
||||
*)
|
||||
echo "Use: $0 <command>"
|
||||
echo
|
||||
echo "Available commands:"
|
||||
echo
|
||||
echo "node <args>"
|
||||
echo "yarn <args>"
|
||||
echo "npx <args>"
|
||||
exit 1
|
||||
esac
|
Reference in New Issue
Block a user