default_reporter.js
function(state, command, output)
  {
    console.log('> Finished execution of ``', command, '``' + withCmdPrefix(state) + ':');
    if (!Array.isArray(output)) output = [output];
    console.log('```');
    console.log(output.map(format).join('\n'));
    console.log('```');
  }
function(state, command, output)
  {
    console.log('> Finished execution of ``', command, '``' + withCmdPrefix(state) + ':');
    if (!Array.isArray(output)) output = [output];
    console.log('```');
    console.log(output.map(format).join('\n'));
    console.log('```');
  }
function ( state , command , output ) { console . log ( '> Finished execution of ``' , command , '``' + withCmdPrefix ( state ) + ':' ) ; if ( ! Array . isArray ( output ) ) output = [ output ] ; console . log ( '```' ) ; console . log ( output . map ( format ) . join ( '\n' ) ) ; console . log ( '```' ) ; }
Handles reports with command's output

@param   {object} state - current state
@param   {string} command - string representation of the command
@param   {array|string|undefined} output - command's output
@returns {void}
Handles reports with command s output