parameters: (args)
docstring: Removes the engine from the registery-file.
docstring_summary: Removes the engine from the registery-file.
docstring_tokens: Removes the engine from the registery - file .
function: def cmd_remove(args):
      """
      Removes the engine from the registery-file.
      """
      engine_registry = cryregistry.load_engines()
  
      removed = []
      for engine_file in args.engine_files:
          engine = load_engine_file(engine_file)
          engine_id = engine['info']['id']
          if engine_id in engine_registry:
              del engine_registry[engine_id]
              removed.append(engine_id)
  
      if removed:
          sys.exit(cryregistry.save_engines(
              engine_registry, register_action=False, silent=args.silent))
function_tokens: def cmd_remove ( args ) : engine_registry = cryregistry . load_engines ( ) removed = [ ] for engine_file in args . engine_files : engine = load_engine_file ( engine_file ) engine_id = engine [ 'info' ] [ 'id' ] if engine_id in engine_registry : del engine_registry [ engine_id ] removed . append ( engine_id ) if removed : sys . exit ( cryregistry . save_engines ( engine_registry , register_action = False , silent = args . silent ) )