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
#!/bin/bash | |
# +o histexpand is to avoid issues with ! showing up in ticket descriptions. | |
# The rest are just good Bash script practice. | |
set -eu -o pipefail +o histexpand | |
if [[ $# -lt 2 ]]; then | |
echo "usage: $0 <user> <repo>" | |
exit 1 | |
fi |