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