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 | |
set -e | |
usage() { | |
echo "giphy-grab [-f|--force] [-s|--skip-title] [-o|--output] <url>" | |
echo " --force: overwrite output file if it exists" | |
echo " --skip-title: don't fetch GIF name from GIPHY" | |
echo " --output: filename or destination folder for GIF" | |
exit 1 | |
} |