UNPKG

@plastichub/osr-ai-tools

Version:

CLI and library for LLM tools

20 lines (19 loc) 609 B
#!/usr/bin/env node "use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const yargs_1 = __importDefault(require("yargs")); const commands_1 = require("./commands"); const _1 = require("./"); async function main() { try { const argv = await (0, commands_1.commands)(yargs_1.default).argv; } catch (error) { _1.logger.error('Error executing command:', error); process.exit(1); } } main();