in lib/aws_lambda_ric/bootstrap.rb [25:36]
def self.bootstrap_handler
if ARGV.empty?
puts 'No handler specified, exiting Runtime Interface Client.'
exit
end
app_root = Dir.pwd
handler = ARGV[0]
lambda_runner = AwsLambdaRuntimeInterfaceClient::LambdaRunner.new(fetch_runtime_server, get_user_agent)
puts "Executing '#{handler}' in function directory '#{app_root}'"
lambda_runner.run(app_root, handler)
end