libs/commandio.js
function addCommands(commands){
	for(var i in commands){
		var commandObj = commands[i];
		addCommand(commandObj);
	}

	return module.exports;
}
function addCommands(commands){
	for(var i in commands){
		var commandObj = commands[i];
		addCommand(commandObj);
	}

	return module.exports;
}
function addCommands ( commands ) { for ( var i in commands ) { var commandObj = commands [ i ] ; addCommand ( commandObj ) ; } return module . exports ; }
Add commands recursively.
@param commands Object[] An array of command descriptor {name: string, description: string, :action: function}.
@return Object Return Command.IO API.
Add commands recursively .