firebase/firebase.bash (5 lines of code) (raw):

#!/bin/bash # run the original firebase if [ $FIREBASE_TOKEN ]; then firebase "$@" --token $FIREBASE_TOKEN else firebase "$@" fi