old_contents: # PYTHON_ARGCOMPLETE_OK
  """The stagpy module is callable"""
  
  from . import config
  
  
  def main():
      """StagPy entry point"""
      args = config.parse_args()
      args.func(args)
  
  main()
  
new_contents: # PYTHON_ARGCOMPLETE_OK
  """The stagpy module is callable"""
  
  from . import config
  
  
  def main():
      """StagPy entry point"""
      args = config.parse_args()
      args.func(args)
  
  if __name__ == '__main__':
      main()
  
subject: Add __name__ == '__main__' guard in __main__