Created
August 2, 2018 15:33
-
-
Save kopepasah/64dc43405b430c3e1bae724a2a7f79cd to your computer and use it in GitHub Desktop.
Shortcut for using WP Snapshots in wp-local-docker: https://github.com/10up/wp-local-docker#wp-snapshots
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 | |
# Shortcut for WP Snapshots usage in wp-local-docker | |
# | |
# @link: https://github.com/10up/wp-local-docker#wp-snapshots | |
function snap() { | |
if [ -f "$PWD/bin/wpsnapshots.sh" ]; then | |
sh ./bin/wpsnapshots.sh "$@" | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment