code: def end(self):
          
          if not self.quiet:
              self.screen.end()
  
          # Exit from export modules
          self.stats.end()
  
          # Check Glances version versus PyPI one
          if self.outdated.is_outdated():
              print("You are using Glances version {}, however version {} is available.".format(
                  self.outdated.installed_version(), self.outdated.latest_version()))
              print("You should consider upgrading using: pip install --upgrade glances")
docs: End of the standalone CLI.