class Pfm::Command::Configure

def run(params)

def run(params)
  current_set = Pfm::Settings.new
  new_settings = {}
  current_set.settings.each do |key, setting|
    print("#{key} [#{setting.value}]: ")
    stdin = STDIN.gets.chomp.strip
    required = setting.required?
    new_value = setting.value
    new_value = stdin unless null?(stdin)
    new_settings[key] = Pfm::Settings::Setting.new(new_value, required)
  end
  current_set.save_config(new_settings)
end