UNPKG

sheetxl

Version:

SheetXL - Command line tool

27 lines (26 loc) 837 B
/** * @license sheetxl - SheetXL - Command line tool - v0.6.0 * * (C) 2025-present SheetXL Inc. & Michael T. Ford * License: The license can be found at https://www.sheetxl.com/license. */ import { a as e } from "../cli.js"; import "node:util"; import "node:path"; import "node:fs"; import "node:os"; import "open"; import "node:repl"; import "chalk"; import "fs"; import "path"; import "commander"; const o = async (o2, t) => { const r = o2[0]; if (!r || "string" != typeof r) throw new Error("Invalid license key provided."); const i = await e.setLicenseKey(r); (t?.program.opts()?.verbose ?? false) && (0 === i.exceptions().length ? console.log("✅ License key successfully activated and saved for future use.") : console.error("❌ License key is invalid or has exceptions:"), e.print()); }; export { o as default };