anastasis-core: cli entry point

This commit is contained in:
Florian Dold 2021-11-05 12:50:07 +01:00
parent 2139cfd707
commit dc1fce2277
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -0,0 +1,15 @@
import { reducerCliMain } from "./cli.js";
async function r() {
try {
// @ts-ignore
(await import("source-map-support")).install();
} catch (e) {
console.warn("can't load souremaps, please install source-map-support");
// Do nothing.
}
reducerCliMain();
}
r();