#! /usr/bin/env sh DIR="$( cd "$( dirname "${0}" )" >/dev/null 2>&1 && pwd )" export NODE_PATH="${DIR}" case $1 in run) node index.js ;; *) echo "\"$1\" is an unrecognized command" ;; esac