15 lines
356 B
TypeScript
15 lines
356 B
TypeScript
import * as plugins from './smartuniverse.plugins';
|
|
|
|
import { Universe } from './index';
|
|
|
|
process.env.CLI = 'true';
|
|
|
|
const universeCli = new plugins.smartcli.Smartcli();
|
|
|
|
universeCli.standardTask().then(async argvArg => {
|
|
const standardUniverse = new Universe({
|
|
messageExpiryInMilliseconds: 60000
|
|
});
|
|
await standardUniverse.initServer(8765);
|
|
});
|