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