Sha256: 62b6d0f510f357d5f3c757a0db076e697005cc7f84036475bb2c23cf5b79a692

Contents?: true

Size: 582 Bytes

Versions: 7

Compression:

Stored size: 582 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require 'optparse'
require 'appmap'
require 'appmap/command/agent_setup/init'

@options = {:config_file => AppMap::DEFAULT_CONFIG_FILE_PATH}

OptionParser.new do |parser|
  parser.banner = 'Usage: bundle exec exe/appmap-agent-init [options]'

  description = "AppMap configuration file path (default: #{AppMap::DEFAULT_CONFIG_FILE_PATH})"
  parser.on('-c', '--config=FILEPATH', description) do |filepath|
    @options[:config_file] = filepath
  end
end.parse!

AppMap::Command::AgentSetup::Init.new(@options[:config_file]).perform

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
appmap-0.55.0 exe/appmap-agent-init
appmap-0.54.4 exe/appmap-agent-init
appmap-0.54.3 exe/appmap-agent-init
appmap-0.54.2 exe/appmap-agent-init
appmap-0.54.1 exe/appmap-agent-init
appmap-0.54.0 exe/appmap-agent-init
appmap-0.53.0 exe/appmap-agent-init