code: function startRepl() {
    var repl = require('repl');
  
    var gcliEval = function(command, scope, file, callback) {
      // Why does node wrap the command in '(...)\n'?
      command = command.replace(/^\((.*)\n\)$/, function(all, part) {
        return part;
      });
  
      if (command.length !== 0) {
        requisition.updateExec(command)
                   .then(logResults)
                   .then(function() { callback(); })
                   .catch(function(ex) { util.errorHandler(ex); callback(); });
      }
    };
  
    console.log('This is also a limited GCLI REPL. ' +
                'Type \'help\' for a list of commands, CTRL+C 3 times to exit:');
    repl.start(': ', process, gcliEval, false, true);
  }
docs: Start a NodeJS REPL to execute commands