X-Git-Url: https://git.r.bdr.sh/rbdr/dasein/blobdiff_plain/7eb26514c478cfa06a797e9d63a29ef6a6d16d59..cc69fef4b7e1587a91a0603d4bd1a46d0b133dd5:/bin/dasein.js?ds=inline diff --git a/bin/dasein.js b/bin/dasein.js new file mode 100755 index 0000000..10edfc3 --- /dev/null +++ b/bin/dasein.js @@ -0,0 +1,22 @@ +#!/usr/bin/env node +'use strict'; + +const Dasein = require('..'); + +const internals = {}; + +internals.dasein = new Dasein(); + +internals.main = () => { + + internals.dasein.run().then(() => { + + process.exit(0); + }).catch((err) => { + + console.error(err.stack || err.message || err); + process.exit(1); + }); +}; + +internals.main();