#!/usr/bin/env node
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const index_1 = require("./index");
const [file, out1 = 'out.ix', out2 = 'out.ixx'] = process.argv.slice(2);
if (!file) {
    console.log('usage: ixixx file.txt [out.ix] [out.ixx]');
    process.exit();
}
// eslint-disable-next-line @typescript-eslint/no-floating-promises
;
(async () => {
    try {
        await (0, index_1.ixIxx)(file, out1, out2);
    }
    catch (e) {
        console.error(e);
    }
})();
//# sourceMappingURL=bin.js.map