docs: def pretty_version_text():
      """Return pretty version text listing all plugins."""
      version_lines = ["dtool, version {}".format(dtool_version)]
      version_lines.append("\nBase:")
      version_lines.append("dtoolcore, version {}".format(dtoolcore.__version__))
      version_lines.append("dtool-cli, version {}".format(__version__))
  
      # List the storage broker packages.
      version_lines.append("\nStorage brokers:")
      for ep in iter_entry_points("dtool.storage_brokers"):
          package = ep.module_name.split(".")[0]
          dyn_load_p = __import__(package)
          version = dyn_load_p.__version__
          storage_broker = ep.load()
          version_lines.append(
              "{}, {}, version {}".format(
                  storage_broker.key,
                  package.replace("_", "-"),
                  version))
  
      # List the plugin packages.
      modules = [ep.module_name for ep in iter_entry_points("dtool.cli")]
      packages = set([m.split(".")[0] for m in modules])
      version_lines.append("\nPlugins:")
      for p in packages:
          dyn_load_p = __import__(p)
          version_lines.append(
              "{}, version {}".format(
                  p.replace("_", "-"),
                  dyn_load_p.__version__))
  
      return "\n".join(version_lines)