class Bundler::CLI::Config::Base

def run

def run
  unless name
    warn_unused_scope "Ignoring --#{scope}"
    confirm_all
    return
  end
  if options[:delete]
    if !explicit_scope? || scope != "global"
      Bundler.settings.set_local(name, nil)
    end
    if !explicit_scope? || scope != "local"
      Bundler.settings.set_global(name, nil)
    end
    return
  end
  if value.nil?
    warn_unused_scope "Ignoring --#{scope} since no value to set was given"
    if options[:parseable]
      if value = Bundler.settings[name]
        Bundler.ui.info("#{name}=#{value}")
      end
      return
    end
    confirm(name)
    return
  end
  Bundler.ui.info(message) if message
  Bundler.settings.send("set_#{scope}", name, new_value)
end