Sha256: a30705e21d5c74d18301128f9569d5f4ba38c58d60e16d5dbe326702e83c7726

Contents?: true

Size: 358 Bytes

Versions: 4

Compression:

Stored size: 358 Bytes

Contents

# frozen_string_literal: true

require 'puppet-debugger/input_responder_plugin'
module PuppetDebugger
  module InputResponders
    class Exit < InputResponderPlugin
      COMMAND_WORDS = %w[exit].freeze
      SUMMARY = 'Quit Puppet Debugger, or use control-d'
      COMMAND_GROUP = :help

      def run(_args = [])
        exit 0
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
puppet-debugger-1.4.0 lib/plugins/puppet-debugger/input_responders/exit.rb
puppet-debugger-1.3.0 lib/plugins/puppet-debugger/input_responders/exit.rb
puppet-debugger-1.2.0 lib/plugins/puppet-debugger/input_responders/exit.rb
puppet-debugger-1.1.0 lib/plugins/puppet-debugger/input_responders/exit.rb