mirror of
https://git.coolaj86.com/coolaj86/telebit.js.git
synced 2025-04-21 19:40:37 +00:00
one bin to rule them all
This commit is contained in:
parent
170518d55a
commit
4870cd1ee0
12
bin/telebit.js
Executable file
12
bin/telebit.js
Executable 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');
|
||||||
|
}
|
||||||
|
|
||||||
|
}());
|
Loading…
x
Reference in New Issue
Block a user