]> git.r.bdr.sh - rbdr/dasein/blob - bin/dasein.js
b6f7944a5aa60fbcfa080c5d2c5662c0e3651fa4
[rbdr/dasein] / bin / dasein.js
1 #!/usr/bin/env node
2 'use strict';
3
4 const Config = require('../config/config');
5 const Dasein = require('..');
6
7 const internals = {};
8
9 internals.dasein = new Dasein(Config);
10
11 internals.main = () => {
12
13 internals.dasein.run().catch((err) => {
14
15 console.error(err.stack || err.message || err);
16 process.exit(1);
17 });
18 };
19
20 internals.main();