var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); var commands_exports = {}; __export(commands_exports, { get: () => get, list: () => list }); module.exports = __toCommonJS(commands_exports); var import_build = require("./build"); var import_compile = require("./compile"); var import_info = require("./info"); var import_migrate = require("./migrate"); const commandList = [ "build", "compile", "info", "migrate" ]; function get(commandName) { if (typeof commandName !== "string") { return null; } if (commandList.indexOf(commandName) === -1) { return null; } switch (commandName) { case "build": return import_build.cliBuild; case "compile": return import_compile.cliCompile; case "info": return import_info.cliInfo; case "migrate": return import_migrate.cliMigrate; default: return null; } } function list() { return commandList; } // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { get, list });