def show_response_messages(response_json):
message_type_kwargs = {<EOL>'<STR_LIT>': {'<STR_LIT>': '<STR_LIT>'},<EOL>'<STR_LIT:error>': {'<STR_LIT>': '<STR_LIT>'},<EOL>}<EOL>for message in response_json.get('<STR_LIT>', []):<EOL><INDENT>click.secho(message['<STR_LIT:text>'], **message_type_kwargs.get(message['<STR_LIT:type>'], {}))<EOL><DEDENT>
Show all messages in the `messages` key of the given dict.