Sha256: 7d33ffd71877e6ce77420d3f5bff6447f23e8e4b6115e61d85f72afdaeff6178

Contents?: true

Size: 485 Bytes

Versions: 66

Compression:

Stored size: 485 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 'npx'

        exec(*arguments)
      end
    end
  end
end

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
appmap-1.1.1 lib/appmap/command/inspect.rb
appmap-1.0.1 lib/appmap/command/inspect.rb
appmap-1.0.0 lib/appmap/command/inspect.rb
appmap-0.103.0 lib/appmap/command/inspect.rb
appmap-0.102.2 lib/appmap/command/inspect.rb
appmap-0.102.1 lib/appmap/command/inspect.rb
appmap-0.102.0 lib/appmap/command/inspect.rb
appmap-0.101.0 lib/appmap/command/inspect.rb
appmap-0.100.0 lib/appmap/command/inspect.rb
appmap-0.99.4 lib/appmap/command/inspect.rb
appmap-0.99.2 lib/appmap/command/inspect.rb
appmap-0.99.1 lib/appmap/command/inspect.rb
appmap-0.99.0 lib/appmap/command/inspect.rb
appmap-0.98.1 lib/appmap/command/inspect.rb
appmap-0.98.0 lib/appmap/command/inspect.rb
appmap-0.97.0 lib/appmap/command/inspect.rb
appmap-0.96.0 lib/appmap/command/inspect.rb
appmap-0.95.2 lib/appmap/command/inspect.rb
appmap-0.95.1 lib/appmap/command/inspect.rb
appmap-0.95.0 lib/appmap/command/inspect.rb