@shipengine/connect
Version:
The official developer tooling for building ShipEngine connect apps
23 lines • 729 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.main = void 0;
const tslib_1 = require("tslib");
const flush_1 = tslib_1.__importDefault(require("@oclif/command/flush"));
const errors_1 = require("@oclif/errors");
const command_1 = require("@oclif/command");
/**
* This is the main entry point of the ShipEngine Connect CLI.
*/
async function main(args) {
try {
await (0, command_1.run)(args);
// The CLI finished successfully, but there may still be STDIO in process,
// so flush all remaining STDIO
await (0, flush_1.default)();
}
catch (error) {
(0, errors_1.handle)(error);
}
}
exports.main = main;
//# sourceMappingURL=cli.js.map