code: def on_exit(self):
          
          if self.zip_path:
              # Only try to remove uploaded zip if we're running a command that has loaded credentials
              if self.load_credentials:
                  self.remove_uploaded_zip()
  
              self.remove_local_zip()
docs: Cleanup after the command finishes.
          Always called: SystemExit, KeyboardInterrupt and any other Exception that occurs.