Sha256: bf90427c43cf81bf126fecde54768bf5a3f454576dcf683dcc1ab12d81638568

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 Bytes

Contents

# frozen_string_literal: true

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

          command_output
        end

        private

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
balboa-0.1.7 lib/balboa/cli/command/reset_command.rb