code: function bin(argv) {
    // setup config
    var config = require('../config/config.js')
  
    program
    .option('-d, --database <database>', 'Database')
    .parse(argv)
  
    var defaultDatabase = 'media'
  
    config.database = program.database || config.database || defaultDatabase
    var url = process.argv[2] || 'https://www.reddit.com/r/perfectloops/top/?sort=top&t=all&count=25&after=t3_4j0v4f'
  
    qpm_media.getLastSeen(function(err, ret){
      if (err) {
        console.error(err)
      } else {
        console.log(ret[0][0].uri);
      }
    })
  
  
  }
docs: version as a command