code: def print_validation_errors(result):
      
      click.echo(red('\nValidation failed:'))
      click.echo(red('-' * 40))
      messages = result.get_messages()
      for property in messages.keys():
          click.echo(yellow(property + ':'))
          for error in messages[property]:
              click.echo(red('* ' + error))
          click.echo('')
docs: Accepts validation result object and prints report (in red)