Sha256: 36192d18628fd3af4ec5c2dd81412a3dad38ff1d46b53692067762f8c86e55b6

Contents?: true

Size: 565 Bytes

Versions: 98

Compression:

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

98 entries across 98 versions & 1 rubygems

Version Path
appmap-0.66.1 exe/appmap-agent-init
appmap-0.66.0 exe/appmap-agent-init
appmap-0.65.1 exe/appmap-agent-init
appmap-0.65.0 exe/appmap-agent-init
appmap-0.64.0 exe/appmap-agent-init
appmap-0.63.0 exe/appmap-agent-init
appmap-0.62.1 exe/appmap-agent-init
appmap-0.62.0 exe/appmap-agent-init
appmap-0.61.1 exe/appmap-agent-init
appmap-0.61.0 exe/appmap-agent-init
appmap-0.60.0 exe/appmap-agent-init
appmap-0.59.2 exe/appmap-agent-init
appmap-0.59.1 exe/appmap-agent-init
appmap-0.59.0 exe/appmap-agent-init
appmap-0.58.0 exe/appmap-agent-init
appmap-0.57.1 exe/appmap-agent-init
appmap-0.57.0 exe/appmap-agent-init
appmap-0.56.0 exe/appmap-agent-init