Sha256: a066ae0a7981f5de9697a1dd19b4c9da1ade0bbed153feed4cd1527fa75b7916

Contents?: true

Size: 486 Bytes

Versions: 12

Compression:

Stored size: 486 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

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

        exec(*arguments)
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
appmap-0.72.2 lib/appmap/command/inspect.rb
appmap-0.72.1 lib/appmap/command/inspect.rb
appmap-0.72.0 lib/appmap/command/inspect.rb
appmap-0.71.0 lib/appmap/command/inspect.rb
appmap-0.70.2 lib/appmap/command/inspect.rb
appmap-0.70.1 lib/appmap/command/inspect.rb
appmap-0.70.0 lib/appmap/command/inspect.rb
appmap-0.69.0 lib/appmap/command/inspect.rb
appmap-0.68.2 lib/appmap/command/inspect.rb
appmap-0.68.1 lib/appmap/command/inspect.rb
appmap-0.68.0 lib/appmap/command/inspect.rb
appmap-0.67.1 lib/appmap/command/inspect.rb