osr-mono/packages/osr-fs-utils/commands/_cli.js
2025-01-29 17:48:22 +01:00

17 lines
551 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaults = void 0;
// tweaks and handlers
const defaults = () => {
// default command
const DefaultCommand = 'info';
if (process.argv.length === 2) {
process.argv.push(DefaultCommand);
}
// currently no default handler, display only :
process.on('unhandledRejection', (reason) => {
console.error('Unhandled rejection, reason: ', reason);
});
};
exports.defaults = defaults;
//# sourceMappingURL=_cli.js.map