diff --git a/bin/telebit.js b/bin/telebit.js new file mode 100644 index 0000000..004a44a --- /dev/null +++ b/bin/telebit.js @@ -0,0 +1,12 @@ +#!/usr/bin/env node +(function () { +'use strict'; + +// node telebit daemon arg1 arg2 +if ('daemon' === process.argv[3]) { + require('./telebitd.js'); +} else { + require('./telebit-remote.js'); +} + +}());