// the API comes from http://www.commandlinefu.com/site/api
var request = require('request'),
  _ = require('underscore'),
  print = require('../utils/utils').print

  exports.query = function(query) {
    var API = 'http://www.commandlinefu.com/commands/matching',
      format = 'json',
      crypto = new Buffer(query).toString('base64'),
      queryUri = encodeURIComponent(query) + '/' + crypto,
      url = API + '/' + queryUri + '/' + format

      request.get({
        url: url
      }, function(error, response, body) {
        if (response.statusCode == 200) {
          print(JSON.parse(body))
        } else {
          console.log('error: ' + response.statusCode)
          console.log(body)
        }
      })
  }

@@ -579,14 +579,16 @@
     
-print(
+lists = 
 JSON
@@ -599,16 +599,136 @@
 se(body)
+%0A          lists.forEach(function(line) %7B%0A            line.description = line.summary%0A          %7D)%0A          print(lists
 )%0A      

unified the objects keys from commandline