5 var indexName = process.argv[2];
7 console.error('usage: ' + process.argv[0] + ' index_name');
12 process.stdin.setEncoding('utf8');
13 process.stdin.on('data', function (d) {
17 process.stdin.on('end', function () {
22 alias: 'gitter-primary'
28 var response = JSON.parse(data);
29 Object.keys(response).forEach(function(index) {
33 alias: 'gitter-primary'
38 console.log(JSON.stringify(doc, null, ' '));
41 process.stdin.resume();