Sha256: 3e6b4a44874f61133dc0b95265f39b3279fa0a3fe99511fa5825619ea1bf5514

Contents?: true

Size: 374 Bytes

Versions: 23

Compression:

Stored size: 374 Bytes

Contents

require 'puppet-debugger/input_responder_plugin'
module PuppetDebugger
  module InputResponders
    class Environment < InputResponderPlugin
      COMMAND_WORDS = %w(environment)
      SUMMARY = 'Show the current environment name'
      COMMAND_GROUP = :context

      def run(args = [])
        "Puppet Environment: #{debugger.puppet_env_name}"
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
puppet-debugger-0.19.0 lib/plugins/puppet-debugger/input_responders/environment.rb
puppet-debugger-0.18.0 lib/plugins/puppet-debugger/input_responders/environment.rb
puppet-debugger-0.17.0 lib/plugins/puppet-debugger/input_responders/environment.rb
puppet-debugger-0.16.0 lib/plugins/puppet-debugger/input_responders/environment.rb
puppet-debugger-0.15.2 lib/plugins/puppet-debugger/input_responders/environment.rb
puppet-debugger-0.15.1 lib/plugins/puppet-debugger/input_responders/environment.rb
puppet-debugger-0.15.0 lib/plugins/puppet-debugger/input_responders/environment.rb
puppet-debugger-0.14.0 lib/plugins/puppet-debugger/input_responders/environment.rb
puppet-debugger-0.13.0 lib/plugins/puppet-debugger/input_responders/environment.rb
puppet-debugger-0.12.3 lib/plugins/puppet-debugger/input_responders/environment.rb
puppet-debugger-0.12.2 lib/plugins/puppet-debugger/input_responders/environment.rb
puppet-debugger-0.12.1 lib/plugins/puppet-debugger/input_responders/environment.rb
puppet-debugger-0.12.0 lib/plugins/puppet-debugger/input_responders/environment.rb
puppet-debugger-0.11.0 lib/plugins/puppet-debugger/input_responders/environment.rb
puppet-debugger-0.10.3 lib/plugins/puppet-debugger/input_responders/environment.rb
puppet-debugger-0.10.2 lib/plugins/puppet-debugger/input_responders/environment.rb
puppet-debugger-0.10.1 lib/plugins/puppet-debugger/input_responders/environment.rb
puppet-debugger-0.10.0 lib/plugins/puppet-debugger/input_responders/environment.rb
puppet-debugger-0.9.1 lib/plugins/puppet-debugger/input_responders/environment.rb
puppet-debugger-0.9.0 lib/plugins/puppet-debugger/input_responders/environment.rb