#!/usr/bin/env node // // This executable sets up the environment and runs the HomeBridge CLI. // 'use strict'; process.title = 'homebridge'; // Find the HomeBridge lib var path = require('path'); var fs = require('fs'); var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib'); // Run HomeBridge require(lib + '/cli')();