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-1.1.1 exe/appmap-agent-init
appmap-1.0.1 exe/appmap-agent-init
appmap-1.0.0 exe/appmap-agent-init
appmap-0.103.0 exe/appmap-agent-init
appmap-0.102.2 exe/appmap-agent-init
appmap-0.102.1 exe/appmap-agent-init
appmap-0.102.0 exe/appmap-agent-init
appmap-0.101.0 exe/appmap-agent-init
appmap-0.100.0 exe/appmap-agent-init
appmap-0.99.4 exe/appmap-agent-init
appmap-0.99.2 exe/appmap-agent-init
appmap-0.99.1 exe/appmap-agent-init
appmap-0.99.0 exe/appmap-agent-init
appmap-0.98.1 exe/appmap-agent-init
appmap-0.98.0 exe/appmap-agent-init
appmap-0.97.0 exe/appmap-agent-init
appmap-0.96.0 exe/appmap-agent-init
appmap-0.95.2 exe/appmap-agent-init
appmap-0.95.1 exe/appmap-agent-init
appmap-0.95.0 exe/appmap-agent-init