e.g. The code for doing this in serial:
var p = Q();
cli_opts.plugin.forEach(function(pluginSrc) {
  p.then(function() { return plugman.raw.install(pluginSrc); });
});