Created
November 8, 2018 19:32
-
-
Save maurobaraldi/ed3e9da715c1ee6d29ec180948797d83 to your computer and use it in GitHub Desktop.
Simple function in shell script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
show() { | |
if [ "$1" = "Sandbox" ]; then | |
echo "pip install -r /path/to/sandbox.txt" | |
elif [ "$1" = "Staging" ]; then | |
echo "pip install -r /path/to/staging.txt" | |
else | |
echo "pip install -r /path/to/local.txt" | |
fi; | |
} | |
show Sandbox | |
show Staging | |
show Lalalala |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment