docs: def list_remote_plugins(installed_plugins, plugin_type):
      """List remote plugins from online repo."""
      click.secho("\n[*] Additional plugins from online repository:")
      try:
          rsession = requests.Session()
          rsession.mount("https://", HTTPAdapter(max_retries=3))
  
          r = rsession.get("{0}/{1}s/{1}s.txt".format(defs.GITHUB_RAW, plugin_type))
          logger.debug("fetching %ss from remote repo", plugin_type)
          plugins = [_ for _ in r.text.splitlines() if _ not in installed_plugins]
          click.secho(" ".join(plugins))
  
      except requests.exceptions.ConnectionError as exc:
          logger.debug(str(exc), exc_info=True)
          raise click.ClickException("Unable to fetch {} information from online repository".format(plugin_type))