_adom_tts() {
	local cur="${COMP_WORDS[COMP_CWORD]}"
	local prev="${COMP_WORDS[COMP_CWORD-1]}"
	case "$prev" in
		--surface) COMPREPLY=($(compgen -W "hydrogen pup" -- "$cur")); return ;;
	esac
	if [[ "$cur" == --* ]]; then
		COMPREPLY=($(compgen -W "--play --surface --wait --out --voice --rate --history --no-pronunciations --show" -- "$cur"))
		return
	fi
	COMPREPLY=($(compgen -W "health version config say voices pronunciations install serve push play pron" -- "$cur"))
}
complete -F _adom_tts adom-tts