index.js
function checkUserColors(colorUser){
  if(terminal.colors){
    for(var name in colorUser){
      colorUser[name]= setUserColor(colorUser[name]);
      }
  }
  else{
    throw new Error("There is no colors object defined");
  }
}
function checkUserColors(colorUser){
  if(terminal.colors){
    for(var name in colorUser){
      colorUser[name]= setUserColor(colorUser[name]);
      }
  }
  else{
    throw new Error("There is no colors object defined");
  }
}
function checkUserColors ( colorUser ) { if ( terminal . colors ) { for ( var name in colorUser ) { colorUser [ name ] = setUserColor ( colorUser [ name ] ) ; } } else { throw new Error ( "There is no colors object defined" ) ; } }
FUNCTIONS FOR THE CLI RESPONSE.. check if there is defined object colors if not, throw error
FUNCTIONS FOR THE CLI RESPONSE .. check if there is defined object colors if not throw error