import { createRequire as _createRequire } from 'node:module';
const require = _createRequire(import.meta.url);
import {
  messages_default
} from "./chunk-7S4TD3NR.js";
import {
  createCommand
} from "./chunk-4CMTZJ25.js";
import {
  createI18n
} from "./chunk-MDUBZZTI.js";
import "./chunk-RPTAJN5Y.js";
import "./chunk-QK47PIWK.js";
import {
  require_react
} from "./chunk-TODKQSCF.js";
import "./chunk-AFPDHQYI.js";
import "./chunk-XZUGLEBK.js";
import "./chunk-SDLCFZRL.js";
import "./chunk-WGV2XQSB.js";
import {
  __toESM,
  init_esm_shims
} from "./chunk-EXLZF52D.js";

// ../cli-site-live/src/index.ts
init_esm_shims();

// ../cli-site-live/src/commands/root-command.ts
init_esm_shims();

// ../cli-site-live/src/commands/dev.tsx
init_esm_shims();
var import_react = __toESM(require_react(), 1);

// ../cli-site-live/src/i18n.ts
init_esm_shims();
function createI18nT() {
  const i18n = createI18n(messages_default);
  return i18n.t.bind(i18n);
}

// ../cli-site-live/src/commands/dev.tsx
var devCommand = (services, cliVersion) => {
  const t = createI18nT();
  return createCommand("dev").description(t("site_dev_command_def.description")).action(async (options, command) => {
    const { renderCommand } = await import("./render-command-RTBETXWA.js");
    const { DevCommand } = await import("./DevCommand-2SYVKEP5.js");
    await renderCommand(command, services, cliVersion, /* @__PURE__ */ import_react.default.createElement(DevCommand, null));
  });
};

// ../cli-site-live/src/commands/root-command.ts
var getRootCommand = async function getRootCommand2(services, cliVersion) {
  return createCommand("site").addCommand(devCommand(services, cliVersion));
};
export {
  getRootCommand
};
//# sourceMappingURL=src-72M3E6IA.js.map