5 var env = require('gitter-web-env');
6 var winston = env.logger;
7 var bayeux = require('../../server/web/bayeux');
9 var opts = require('yargs')
13 description: 'Path to listen to'
16 .alias('help', 'h').argv;
18 var path = opts.path || '/**';
20 bayeux.client.subscribe(path, function(message) {
21 winston.debug('Message', message);