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