Sha256: a7469a350077d787b7395c31bf666570d3c1e54778fe47656d60d3417c82fdbc

Contents?: true

Size: 475 Bytes

Versions: 66

Compression:

Stored size: 475 Bytes

Contents

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

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

      def index(arguments)
        detect_nodejs

        arguments.unshift 'index'
        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-0.75.0 lib/appmap/command/index.rb
appmap-0.74.0 lib/appmap/command/index.rb
appmap-0.73.0 lib/appmap/command/index.rb
appmap-0.72.5 lib/appmap/command/index.rb
appmap-0.72.4 lib/appmap/command/index.rb
appmap-0.72.3 lib/appmap/command/index.rb