Use stdio as an input stream
function showValidation(feedback) {
  feedback.errors.forEach(function (error) {
    console.log('ERROR: ' + error);
  });
  feedback.warnings.forEach(function (warning) {
    console.log('WARNING: ' + warning);
  });
  console.log("Validator finished with " + feedback.warnings.length + " warnings and " + feedback.errors.length + " errors.");
  process.exit(feedback.errors.length > 0 ? 2 : 0);
}