code: def main():
      filenames = _get_filenames(E2E_DIR)
      commands = ["python %s" % filename for filename in filenames]
      failed = run_commands("bare scripts", commands)
  
      if len(failed) == 0:
          click.secho("All scripts succeeded!", fg="green", bold=True)
          sys.exit(0)
      else:
          click.secho(
              "\n".join(
                  _command_to_string(command) for command in failed
              ),
              fg="red",
          )
          click.secho(
              "\n%s failed scripts" % len(failed), fg="red", bold=True
          )
          sys.exit(-1)
  
file_path: streamlit/scripts/run_bare_integration_tests.py
imports: import os
  import subprocess
  import sys
  from multiprocessing import Lock
  from multiprocessing.pool import ThreadPool
  from typing import Set
  import click
label_desc: Use image node_id 4 for calling a global function with example usage: main() without return types