#!/usr/bin/env -S bash -e
[[ -z "$3" ]] && {
printf "Usage: %s username password hostname\n" "$0"
exit 1
}
prosodyctl register "$1" "$3" "$2"