   reset: ->
     @config = {}
     @save()
+    @config
 
   addHostname: (hostname) ->
     hostname = helpers.getHostname hostname

    platform = if process.platform is 'win32' then 'USERPROFILE' else 'HOME'
    @file = path.join process.env[platform], '.snail'
    @open()

  # Return contents of ~/.snail or return an empty object {}
  open: ->


  getPlugin: (hostname, plugin_name) ->
    hostname = helpers.getHostname hostname
    plugins = @getHostname hostname

    if not plugins or not plugin_name
      false
    else 
      plugin = _.where plugins, { name : plugin_name }

      if not plugin.length
        false
      else
        plugin[0]

  updatePlugin: (hostname, plugin_name, opts) ->
    hostname = helpers.getHostname hostname

    if not @getHostname hostname or not plugin_name
