code: def cli(cfg_file_path, resume, reset_elasticsearch, reset_mysql, reset_json, reset_all, no_confirm):
      "A generic news crawler and extractor."
  
      if reset_all:
          reset_elasticsearch = True
          reset_json = True
          reset_mysql = True
  
      if cfg_file_path and not cfg_file_path.endswith(os.path.sep):
          cfg_file_path += os.path.sep
  
      NewsPleaseLauncher(cfg_file_path, resume, reset_elasticsearch, reset_json, reset_mysql, no_confirmf cli(cfg_file_path, resume, reset_elasticsearch, reset_mysql, reset_json, reset_all, no_confirm):
      "A generic news crawler and extractor."
  
      if reset_all:
          reset_elasticsearch = True
          reset_json = True
          reset_mysql = True
  
      if cfg_file_path and not cfg_file_path.endswith(os.path.sep):
          cfg_file_path += os.path.sep
  
      NewsPleaseLauncher(cfg_file_path, resume, reset_elasticsearch, reset_json, reset_mysql, no_confirm)
docs: A generic news crawler and extractor.