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 23:02:11 -06:00
parent 290d192bc9
commit 4210243c35

12
bin/telebit.js Normal 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');
}
}());