2019-05-20 11:18:25 +00:00
|
|
|
#!/usr/bin/env node
|
2019-05-20 16:06:20 +00:00
|
|
|
"use strict";
|
2019-05-20 11:18:25 +00:00
|
|
|
|
2019-05-23 19:10:06 +00:00
|
|
|
// 1: Setup & Imports
|
2019-07-10 13:11:46 +00:00
|
|
|
import setup from './bootstrap/container.mjs';
|
|
|
|
import cli from './bootstrap/cli.mjs';
|
|
|
|
|
|
|
|
async function run() {
|
|
|
|
try {
|
|
|
|
let c = await setup();
|
|
|
|
await cli(c);
|
|
|
|
} catch(error) {
|
|
|
|
console.error(error);
|
2019-05-20 11:18:25 +00:00
|
|
|
}
|
|
|
|
}
|
2019-05-20 13:38:20 +00:00
|
|
|
|
2019-07-10 13:11:46 +00:00
|
|
|
run();
|