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.83.5 lib/appmap/command/index.rb
appmap-0.83.4 lib/appmap/command/index.rb
appmap-0.83.3 lib/appmap/command/index.rb
appmap-0.83.2 lib/appmap/command/index.rb
appmap-0.83.1 lib/appmap/command/index.rb
appmap-0.83.0 lib/appmap/command/index.rb
appmap-0.82.0 lib/appmap/command/index.rb
appmap-0.81.1 lib/appmap/command/index.rb
appmap-0.81.0 lib/appmap/command/index.rb
appmap-0.80.2 lib/appmap/command/index.rb
appmap-0.80.1 lib/appmap/command/index.rb
appmap-0.80.0 lib/appmap/command/index.rb
appmap-0.79.0 lib/appmap/command/index.rb
appmap-0.78.0 lib/appmap/command/index.rb
appmap-0.77.4 lib/appmap/command/index.rb
appmap-0.77.3 lib/appmap/command/index.rb
appmap-0.77.2 lib/appmap/command/index.rb
appmap-0.77.1 lib/appmap/command/index.rb
appmap-0.77.0 lib/appmap/command/index.rb
appmap-0.76.0 lib/appmap/command/index.rb