# File lib/new_relic/cli/commands/install.rb, line 24 def initialize command_line_args={} @dest_dir = nil super command_line_args if @dest_dir.nil? # Install a newrelic.yml file into the local config directory. if File.directory? "config" @dest_dir = "config" else @dest_dir = "." end end @license_key ||= NO_LICENSE_KEY @app_name ||= @leftover.join(" ") @agent_version = NewRelic::VERSION::STRING raise CommandFailure.new("Application name required.", @options) unless @app_name && @app_name.size > 0 end