UNPKG

sheetxl

Version:

SheetXL - Command line tool

21 lines (20 loc) 679 B
/** * @license sheetxl - SheetXL - Command line tool - v0.7.26 * * (C) 2025-present SheetXL Inc. & Michael T. Ford * License: The license can be found at https://www.sheetxl.com/license. */ import { u as e, x as i } from "../cli.js"; import "chalk"; import "fs"; import "path"; import "commander"; const t = async (t2, s) => { const o = t2[0]; if (!o || "string" != typeof o) throw new Error("Invalid license key provided."); (await e.setLicenseKey(o)).hasExceptions() ? i.error("❌ License key is invalid or has exceptions:") : i.log("✅ License key successfully activated."); (s?.program.opts()?.quiet ?? false) || await e.print(); }; export { t as default };