code: function(settings) {
  		process.argv.forEach(function(argument, index, array){
  			switch (argument){
  				case '--file': {
  					settings.file = array[index+1];
  					break;
  				}
  
  				case '--event': {
  					settings.event = array[index+1];
  					break;
  				}
  
  				case '--timeout': {
  					settings.timeout = parseInt(array[index+1], 10) * 1000; //convert seconds to milliseconds
  					break;
  				}
  
  				case '--handler': {
  					settings.handler = array[index+1];
  					break;
  				}
  			}
  		});
  	}
docs: /*
  Q: Why not use commander to parse command line arguments? A. To reduce dependencies.
  
  Command Line Arguments:
  --file, -f <filename:string> 		#Name of the file containing the Lambda function (Default: index.js)
  --event, -e <event:string> 			#Name of the file containing the event object (Default: event.json)
  --timeout, -t <timeout:int>			#The timeout in seconds (Default: 3 seconds)
  --handler, -h <handler:string> 		#Name of the handler function to invoke (Default: handler.exports)
  
  E.g. node run-local-lambda (providing index.js and event.json are in the current directory)
  E.g. node run-local-lambda --file index.js --event event.json --timeout 3 --memory 128 --handler handler