code: def main(**options):
      
      configure_logging(log_all=options.get('log'))
  
      stdin_stream = click.get_text_stream('stdin')
      stdin_text = stdin_stream.read()
  
      click.echo(stdin_text)
  
      ci = find_ci_provider()
      config = Config(options, ci=ci)
  
      build = LintlyBuild(config, stdin_text)
      try:
          build.execute()
      except NotPullRequestException:
          logger.info('Not a PR. Lintly is exiting.')
          sys.exit(0)
  
      # Exit with the number of files that have violations
      sys.exit(len(build.violations))
docs: Slurp up linter output and send it to a GitHub PR review.