code: def run(self):
          
          res = 0
  
          self.project.setup()
          self.__retrieve_all_projects(self.project)
  
          self.link_resolver.get_link_signal.connect_after(self.__get_link_cb)
          self.project.format(self.link_resolver, self.output)
          self.project.write_out(self.output)
  
          # Generating an XML sitemap makes no sense without a hostname
          if self.hostname:
              self.project.write_seo_sitemap(self.hostname, self.output)
  
          self.link_resolver.get_link_signal.disconnect(self.__get_link_cb)
  
          self.formatted_signal(self)
          self.__persist()
  
          return res
docs: Banana banana