" ${SELF} --abort"
}
+verify_gitlab_cli() {
+ which gitlab >/dev/null 2>&1 || \
+ die "You need to have gitlab cli installed and configured: "\
+ "" \
+ "$ gem install --user-install gitlab"
+}
+
die_with_continue_instructions() {
die "" \
"Replay interrupted. Conflicts need to be fixed manually." \
cleanup
;;
"--continue")
+ verify_gitlab_cli
die_if_not_in_progress
source "${STATE_FILE}"
resume
if [[ $# -ne 3 ]]; then
die_with_usage
fi
+ verify_gitlab_cli
die_if_in_progress
go "$@"
;;