Created
October 10, 2016 15:32
-
-
Save amanaplan/96a0bcbc7f6f86f0444940b1e8597abc to your computer and use it in GitHub Desktop.
Drush ULI Secure Link Bash Script
This file contains 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
#!/usr/bin/env bash | |
if [ -z "$1" ] | |
then | |
# Print usage instructions. | |
echo "usage: uli alias" | |
else | |
uli=`drush $1 uli --browser=none` | |
echo "${uli/http/https}" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment