Sha256: 8337621cf9134446d6e430826911990e83cc3a851f0e71f50caeddd89284fa57

Contents?: true

Size: 508 Bytes

Versions: 10

Compression:

Stored size: 508 Bytes

Contents

require 'appmap/version'
require 'appmap/node_cli'

module AppMap
  module Command
    class Inspect < AppMap::NodeCLI
      class << self
        def run
          command = Inspect.new(verbose: ENV['DEBUG'] == 'true')
          command.inspect(ARGV)
        end
      end

      def inspect(arguments)
        detect_nodejs
        index_appmaps

        arguments.unshift 'inspect'
        arguments.unshift APPMAP_JS
        arguments.unshift 'node'

        exec(*arguments)
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
appmap-0.67.0 lib/appmap/command/inspect.rb
appmap-0.66.2 lib/appmap/command/inspect.rb
appmap-0.66.1 lib/appmap/command/inspect.rb
appmap-0.66.0 lib/appmap/command/inspect.rb
appmap-0.65.1 lib/appmap/command/inspect.rb
appmap-0.65.0 lib/appmap/command/inspect.rb
appmap-0.64.0 lib/appmap/command/inspect.rb
appmap-0.63.0 lib/appmap/command/inspect.rb
appmap-0.62.1 lib/appmap/command/inspect.rb
appmap-0.62.0 lib/appmap/command/inspect.rb