Sha256: 010d32a7b8356a596f5d91149562645e0e8e92afdd5b2aef2bd5933f60f7e6b5

Contents?: true

Size: 408 Bytes

Versions: 5

Compression:

Stored size: 408 Bytes

Contents

# frozen_string_literal: true

require 'puppet-debugger/input_responder_plugin'
module PuppetDebugger
  module InputResponders
    class Krt < InputResponderPlugin
      COMMAND_WORDS = %w[krt].freeze
      SUMMARY = 'List all the known resource types.'
      COMMAND_GROUP = :scope

      def run(_args = [])
        debugger.known_resource_types.ai(sort_keys: true, indent: -1)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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