           # write to file
           name = "backup-#{slug}-#{Date.now()}.cson"
           fs.writeFileSync path.join(CWD, name), data
-          
+
           # done
           exit "backup complete: #{name}"
 

  when 'docs'
    open 'http://www.dobi.io'
    exit()
    
  # show usage
  when 'help'
    exit USAGE

      exit "error authenticating" if err
      log 'connected'
      next user, db

exit = (msg) ->
  log msg if msg
  process.exit()
