docs: function bin(argv) {
    // setup config
    var config = require('../config/config.js')
  
  
  
    program
    .arguments('<uri> [uris...]')
    .option('-d, --database <database>', 'Database')
    .parse(argv)
  
  
    var defaultDatabase = 'media'
  
    config.database = program.database || config.database || defaultDatabase
  
    var uris = program.args;
    if (!uris || uris.length === 0) {
      return 'You must enter a valid uri'
    }
  
    // Usage
    var i = 0;
    qpm_queue.promiseWhile(function () { return i < uris.length }, function () {
      qpm_media.addMedia(uris[i]).then(function(ret) {
        console.log(ret)
        ret.conn.close()
      }).catch(function(err){
        console.error(err)
      })
  
      console.log(i);
      i++;
      return Q.delay(1000); // arbitrary async
    }).then(function () {
        console.log("done");
    }).done();
  
  
  
  }