Class: Balboa::CLI::Command::ResetCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/balboa/cli/command/reset_command.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



7
8
9
10
11
# File 'lib/balboa/cli/command/reset_command.rb', line 7

def execute
  File.delete(Balboa::CONFIG_FILE)

  $stdout.puts(message)
end

#messageObject



13
14
15
# File 'lib/balboa/cli/command/reset_command.rb', line 13

def message
  "\nBalboa restored to initial settings!"
end