Sha256: 7852f36a15757ffe09bbe2eda211dbf93fa030145a0b972cfd7583c26cd0d859

Contents?: true

Size: 322 Bytes

Versions: 4

Compression:

Stored size: 322 Bytes

Contents

# frozen_string_literal: true

module Balboa
  module CLI
    module Command
      class ResetCommand
        def execute
          File.delete(Balboa::CONFIG_FILE)

          $stdout.puts(message)
        end

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
balboa-0.1.6 lib/balboa/cli/command/reset_command.rb
balboa-0.1.5 lib/balboa/cli/command/reset_command.rb
balboa-0.1.4 lib/balboa/cli/command/reset_command.rb
balboa-0.1.3 lib/balboa/cli/command/reset_command.rb