Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
export APP_ENV=$1
shift
if [ -z "$APP_ENV" ]; then
echo "Usage: $(basename $0) APP_ENV [ARGUMENTS...]"
echo "ARGUMENTS are forwarded to $(which env)"
exit 1
fi