code: function exitCb(errorCb, successCb) {
  
    if (!errorCb) {
      errorCb = function (err) {
        console.error(err.message);
      };
    }
  
    if (!successCb) {
      successCb = function (result) {
        console.log(result);
      };
    }
  
    return function (err, result) {
      if (err) {
        errorCb(err);
        process.exit(1);
      } else {
        successCb(result);
        process.exit(0);
      }
    };
  }
docs: A higher order function that returns a process exit callback,
  with error and success callbacks to handle error and result accordingly.
  Exit status code 1 indicates an error, exit status code 0 indicates a success.
  
  @param {Function} errorCb: error callback accepts error argument, defaults to logging to console error
  @param {Function} successCb: success callback accepts result argument, defaults to logging to console log