2
2
mirror of https://git.coolaj86.com/coolaj86/telebit.js.git synced 2025-03-03 07:00:45 +00:00

one bin to rule them all

This commit is contained in:
AJ ONeal 2018-09-03 19:16:08 -06:00
parent 170518d55a
commit 4870cd1ee0

12
bin/telebit.js Executable file
View File

@ -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');
}
}());