mirror of
https://github.com/dbgate/dbgate
synced 2024-11-08 12:47:25 +00:00
19 lines
380 B
JavaScript
19 lines
380 B
JavaScript
// require('socket.io-client');
|
|
|
|
// "socket.io-client": "^2.3.0",
|
|
// "utf-8-validate": "^5.0.2",
|
|
// "uuid": "^3.4.0",
|
|
// "uws": "10.148.1"
|
|
|
|
const argument = process.argv[2];
|
|
if (argument && argument.endsWith('Process')) {
|
|
const proc = require('./proc');
|
|
|
|
const module = proc[argument];
|
|
module.start();
|
|
} else {
|
|
const main = require('./main');
|
|
|
|
main.start(argument);
|
|
}
|