docs: def run(self, args):
          """
          Main entry point for script
  
          Returns an integer representing the exit code that should be returned by the script.
          """
          exit_code = 0
  
          if args.verbose:
              log_level = logging.INFO
          else:
              log_level = logging.WARNING
          logging.basicConfig(stream=sys.stdout, level=log_level)
  
          languages = args.language or []
          locale_dir = self.configuration.locale_dir
  
          if not languages:
              # validate all languages
              if validate_po_files(self.configuration, locale_dir, report_empty=args.empty, check_all=args.check_all):
                  exit_code = 1
          else:
              # languages will be a list of language codes; test each language.
              for language in languages:
                  root_dir = self.configuration.locale_dir / language
                  # Assert that a directory for this language code exists on the system
                  if not root_dir.isdir():
                      log.error(" %s is not a valid directory.\nSkipping language '%s'", root_dir, language)
                      continue
                  # If we found the language code's directory, validate the files.
                  if validate_po_files(self.configuration, locale_dir, root_dir=root_dir, report_empty=args.empty,
                                       check_all=args.check_all):
                      exit_code = 1
  
          return exit_code